Use CODEC_ID_NONE instead of 0 for enum CodecID.

Originally committed as revision 20481 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Carl Eugen Hoyos 2009-11-08 23:46:32 +00:00
parent adadf26bb9
commit 80454494de
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ static const AVCodecTag ff_codec_aiff_tags[] = {
{ CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') }, { CODEC_ID_PCM_S16LE, MKTAG('s','o','w','t') },
{ CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') }, { CODEC_ID_ADPCM_IMA_QT, MKTAG('i','m','a','4') },
{ CODEC_ID_QDM2, MKTAG('Q','D','M','2') }, { CODEC_ID_QDM2, MKTAG('Q','D','M','2') },
{ 0, 0 }, { CODEC_ID_NONE, 0 },
}; };
#endif /* AVFORMAT_AIFF_H */ #endif /* AVFORMAT_AIFF_H */

View File

@ -86,7 +86,7 @@ static const struct {
{ CODEC_ID_MPEG2VIDEO, 0 }, { CODEC_ID_MPEG2VIDEO, 0 },
{ CODEC_ID_PCM_S24LE, 1 }, { CODEC_ID_PCM_S24LE, 1 },
{ CODEC_ID_PCM_S16LE, 1 }, { CODEC_ID_PCM_S16LE, 1 },
{ 0 } { CODEC_ID_NONE }
}; };
static void mxf_write_wav_desc(AVFormatContext *s, AVStream *st); static void mxf_write_wav_desc(AVFormatContext *s, AVStream *st);