changeset 5359:16a2de6da57e libavformat

Use CODEC_ID_NONE instead of 0 for enum CodecID.
author cehoyos
date Sun, 08 Nov 2009 23:46:32 +0000
parents 39a8e1dd9f9d
children a00cc1aac80d
files aiff.h mxfenc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/aiff.h	Sun Nov 08 03:27:58 2009 +0000
+++ b/aiff.h	Sun Nov 08 23:46:32 2009 +0000
@@ -46,7 +46,7 @@
     { 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 */
--- a/mxfenc.c	Sun Nov 08 03:27:58 2009 +0000
+++ b/mxfenc.c	Sun Nov 08 23:46:32 2009 +0000
@@ -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);