[FFmpeg-cvslog] r15197 - trunk/libavformat/movenc.c
bcoudurier
subversion
Thu Sep 4 20:25:56 CEST 2008
Author: bcoudurier
Date: Thu Sep 4 20:25:55 2008
New Revision: 15197
Log:
actually write dac3 atom, patch by Kurtnoise, kurtnoise at free dot fr
Modified:
trunk/libavformat/movenc.c
Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c (original)
+++ trunk/libavformat/movenc.c Thu Sep 4 20:25:55 2008
@@ -440,6 +440,7 @@ static int mov_write_audio_tag(ByteIOCon
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(ByteIOCon
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)
More information about the ffmpeg-cvslog
mailing list