aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-11-08 23:46:32 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2009-11-08 23:46:32 +0000
commit80454494dea444a4de8950fb1f8f76c30a9f34b2 (patch)
tree091799e54daf39561d4e89761a7bdc2e2498ab72
parentadadf26bb9a84b6f45ce30ea47374d9a9afffc80 (diff)
downloadffmpeg-80454494dea444a4de8950fb1f8f76c30a9f34b2.tar.gz
Use CODEC_ID_NONE instead of 0 for enum CodecID.
Originally committed as revision 20481 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/aiff.h2
-rw-r--r--libavformat/mxfenc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aiff.h b/libavformat/aiff.h
index 5f86a378e9..e8d4cce5e2 100644
--- a/libavformat/aiff.h
+++ b/libavformat/aiff.h
@@ -46,7 +46,7 @@ static const AVCodecTag ff_codec_aiff_tags[] = {
{ 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 */
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c
index 8175a9b1cf..12dedccbbd 100644
--- a/libavformat/mxfenc.c
+++ b/libavformat/mxfenc.c
@@ -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);