changeset 3907:7c71e9cabf0e libavformat

terminate tag tables by CODEC_ID_NONE
author bcoudurier
date Mon, 08 Sep 2008 00:58:24 +0000
parents b3a0c732d0d7
children 1d3d17de20ba
files movenc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Sun Sep 07 04:17:15 2008 +0000
+++ b/movenc.c	Mon Sep 08 00:58:24 2008 +0000
@@ -550,6 +550,7 @@
     { 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 @@
     { 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)