From 1993f8d6404a123a3c535b714bf1d55e84a81dc2 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Mon, 8 Sep 2008 00:58:24 +0000 Subject: [PATCH] terminate tag tables by CODEC_ID_NONE Originally committed as revision 15259 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/movenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 01977c1941..f1afa82a5c 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -550,6 +550,7 @@ static const AVCodecTag codec_3gp_tags[] = { { CODEC_ID_AAC, MKTAG('m','p','4','a') }, { CODEC_ID_AMR_NB, MKTAG('s','a','m','r') }, { CODEC_ID_AMR_WB, MKTAG('s','a','w','b') }, + { CODEC_ID_NONE, 0 }, }; static const AVCodecTag mov_pix_fmt_tags[] = { @@ -566,6 +567,7 @@ static const AVCodecTag codec_ipod_tags[] = { { CODEC_ID_AAC, MKTAG('m','p','4','a') }, { CODEC_ID_ALAC, MKTAG('a','l','a','c') }, { CODEC_ID_AC3, MKTAG('a','c','-','3') }, + { CODEC_ID_NONE, 0 }, }; static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)