changeset 3889:94ba4a17d03f libavformat

actually write dac3 atom, patch by Kurtnoise, kurtnoise at free dot fr
author bcoudurier
date Thu, 04 Sep 2008 18:25:55 +0000
parents 0244f7383b70
children 76e7b6822fa6
files movenc.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/movenc.c	Thu Sep 04 18:17:21 2008 +0000
+++ b/movenc.c	Thu Sep 04 18:25:55 2008 +0000
@@ -440,6 +440,7 @@
 
     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 @@
         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)