Mercurial > libavcodec.hg
changeset 1125:0980ae063f4e libavcodec
restoring OS/2 compatibility patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
author | michaelni |
---|---|
date | Tue, 11 Mar 2003 12:09:13 +0000 |
parents | 64c7c76ed17c |
children | 77ccf7fe3bd0 |
files | Makefile opts.c resample.c |
diffstat | 3 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon Mar 10 11:48:33 2003 +0000 +++ b/Makefile Tue Mar 11 12:09:13 2003 +0000 @@ -125,9 +125,7 @@ $(LIB): $(OBJS) rm -f $@ $(AR) rc $@ $(OBJS) -ifneq ($(CONFIG_OS2),yes) $(RANLIB) $@ -endif $(SLIB): $(OBJS) $(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
--- a/opts.c Mon Mar 10 11:48:33 2003 +0000 +++ b/opts.c Tue Mar 11 12:09:13 2003 +0000 @@ -12,6 +12,10 @@ #include "avcodec.h" +#ifdef CONFIG_OS2 +#define strcasecmp(s1,s2) stricmp(s1,s2) +#endif + const AVOption avoptions_common[] = { AVOPTION_CODEC_FLAG("bit_exact", "use only bit-exact stuff", flags, CODEC_FLAG_BITEXACT, 0), AVOPTION_CODEC_FLAG("mm_force", "force mm flags", dsp_mask, FF_MM_FORCE, 0),