[FFmpeg-cvslog] r20481 - in trunk/libavformat: aiff.h mxfenc.c

cehoyos subversion
Mon Nov 9 00:46:32 CET 2009


Author: cehoyos
Date: Mon Nov  9 00:46:32 2009
New Revision: 20481

Log:
Use CODEC_ID_NONE instead of 0 for enum CodecID.

Modified:
   trunk/libavformat/aiff.h
   trunk/libavformat/mxfenc.c

Modified: trunk/libavformat/aiff.h
==============================================================================
--- trunk/libavformat/aiff.h	Mon Nov  9 00:37:59 2009	(r20480)
+++ trunk/libavformat/aiff.h	Mon Nov  9 00:46:32 2009	(r20481)
@@ -46,7 +46,7 @@ static const AVCodecTag ff_codec_aiff_ta
     { CODEC_ID_PCM_S16LE,    MKTAG('s','o','w','t') },
     { CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
     { CODEC_ID_QDM2,         MKTAG('Q','D','M','2') },
-    { 0, 0 },
+    { CODEC_ID_NONE,         0 },
 };
 
 #endif /* AVFORMAT_AIFF_H */

Modified: trunk/libavformat/mxfenc.c
==============================================================================
--- trunk/libavformat/mxfenc.c	Mon Nov  9 00:37:59 2009	(r20480)
+++ trunk/libavformat/mxfenc.c	Mon Nov  9 00:46:32 2009	(r20481)
@@ -86,7 +86,7 @@ static const struct {
     { 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-cvslog mailing list