1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

actually write dac3 atom, patch by Kurtnoise, kurtnoise at free dot fr

Originally committed as revision 15197 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kurtnoise 2008-09-04 18:25:55 +00:00 committed by Baptiste Coudurier
parent 27a90b0450
commit 4ed1942008

View File

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