movenc: write 'chan' tag for AC-3 in MOV
authorJustin Ruggles <justin.ruggles@gmail.com>
Tue, 6 Dec 2011 22:35:37 +0000 (17:35 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Fri, 9 Dec 2011 21:12:58 +0000 (16:12 -0500)
libavformat/movenc.c

index 897a204..36a799d 100644 (file)
@@ -386,6 +386,7 @@ static int mov_write_wave_tag(AVIOContext *pb, MOVTrack *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_chan_tag(pb, track);
         mov_write_ac3_tag(pb, track);
     } else if (track->enc->codec_id == CODEC_ID_ALAC) {
         mov_write_extradata_tag(pb, track);