From bc2d2a07d5bf1b6d13b16e106413c7e62979dcc1 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 16 Oct 2009 14:46:06 +0000 Subject: Make AVCodecTag.id enum CodecID and use CODEC_ID_NONE instead of 0. Originally committed as revision 20250 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nsvdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/nsvdec.c') diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index 61a21ae178..9c215cd58f 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -201,7 +201,7 @@ static const AVCodecTag nsv_codec_video_tags[] = { */ { CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') }, /* cf sample xvid decoder from nsv_codec_sdk.zip */ { CODEC_ID_RAWVIDEO, MKTAG('R', 'G', 'B', '3') }, - { 0, 0 }, + { CODEC_ID_NONE, 0 }, }; static const AVCodecTag nsv_codec_audio_tags[] = { @@ -210,7 +210,7 @@ static const AVCodecTag nsv_codec_audio_tags[] = { { CODEC_ID_AAC, MKTAG('A', 'A', 'C', 'P') }, { CODEC_ID_SPEEX, MKTAG('S', 'P', 'X', ' ') }, { CODEC_ID_PCM_U16LE, MKTAG('P', 'C', 'M', ' ') }, - { 0, 0 }, + { CODEC_ID_NONE, 0 }, }; //static int nsv_load_index(AVFormatContext *s); -- cgit v1.2.3