diff options
author | Kurtnoise <kurtnoise@free.fr> | 2008-09-04 18:25:55 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-09-04 18:25:55 +0000 |
commit | 4ed1942008ab1482550b747cb9a1265167b9339f (patch) | |
tree | c5a841b519f5813c078415f35b640fa5ae67333a /libavformat/movenc.c | |
parent | 27a90b0450ce1c94cbd24befc87a37ad9f9c6eca (diff) | |
download | ffmpeg-4ed1942008ab1482550b747cb9a1265167b9339f.tar.gz |
actually write dac3 atom, patch by Kurtnoise, kurtnoise at free dot fr
Originally committed as revision 15197 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 0ab32481be..052810744f 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -440,6 +440,7 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack *track) if(track->mode == MODE_MOV && (track->enc->codec_id == CODEC_ID_AAC || + track->enc->codec_id == CODEC_ID_AC3 || track->enc->codec_id == CODEC_ID_AMR_NB || track->enc->codec_id == CODEC_ID_PCM_S24LE || track->enc->codec_id == CODEC_ID_PCM_S32LE || @@ -449,6 +450,8 @@ static int mov_write_audio_tag(ByteIOContext *pb, MOVTrack *track) mov_write_esds_tag(pb, track); else if(track->enc->codec_id == CODEC_ID_AMR_NB) mov_write_amr_tag(pb, track); + else if(track->enc->codec_id == CODEC_ID_AC3) + mov_write_ac3_tag(pb, track); else if (track->enc->codec_id == CODEC_ID_ALAC) mov_write_extradata_tag(pb, track); else if(track->vosLen > 0) |