Browse Source

terminate tag tables by CODEC_ID_NONE

Originally committed as revision 15259 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier 17 years ago
parent
commit
1993f8d640
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/movenc.c

+ 2
- 0
libavformat/movenc.c View File

@@ -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)


Loading…
Cancel
Save