[FFmpeg-devel] [PATCH]Fix one icc warning when compiling mxfenc.o

Carl Eugen Hoyos cehoyos
Thu Apr 23 23:56:11 CEST 2009


Hi!

Attached patch fixes one warning:
/home/fate/fate32/source/libavformat/mxfenc.c(89): warning #188: 
enumerated type mixed with another type
       { 0 }
         ^

Please comment, Carl Eugen
-------------- next part --------------
Index: libavformat/mxfenc.c
===================================================================
--- libavformat/mxfenc.c	(revision 18661)
+++ libavformat/mxfenc.c	(working copy)
@@ -86,7 +86,7 @@
     { CODEC_ID_MPEG2VIDEO, 0 },
     { CODEC_ID_PCM_S24LE,  1 },
     { CODEC_ID_PCM_S16LE,  1 },
-    { 0 }
+    { CODEC_ID_NONE }
 };
 
 static void mxf_write_wav_desc(AVFormatContext *s, AVStream *st);



More information about the ffmpeg-devel mailing list