[FFmpeg-devel] [PATCH] Use strcasecmp rather than reinventing the loop

Diego Biurrun diego
Sat May 10 16:37:06 CEST 2008


On Fri, May 02, 2008 at 07:41:53PM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > On Fri, May 02, 2008 at 07:50:34PM +0200, Diego 'Flameeyes' Petten? wrote:
> >> M?ns Rullg?rd <mans at mansr.com> writes:
> >> 
> >> > Not that I care, but strcasecmp() is not in C99.  It's a POSIX extension.
> >> > Prepare for complaints if this is applied.
> >> 
> >> I've checked first if libavformat was using strcasecmp before, as I
> >> suspected this to come up: rtsp.c, mp3.c and utils.c already use it. As
> >> do libavdevice, vhook (I know it's deprecated) and ffserver.
> 
> You still need to add the necessary #include line.

Flameeyes, will you send an updated patch?  It also fails to apply
cleanly right now.

Diego




More information about the ffmpeg-devel mailing list