Enable muxing ac-3 in caf.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 24 Apr 2014 16:02:20 +0000 (18:02 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 24 Apr 2014 16:02:20 +0000 (18:02 +0200)
The files play fine with QuickTime.

libavformat/cafenc.c

index ae36b85..f94101a 100644 (file)
@@ -115,7 +115,6 @@ static int caf_write_header(AVFormatContext *s)
 
     switch (enc->codec_id) {
     case AV_CODEC_ID_AAC:
-    case AV_CODEC_ID_AC3:
         av_log(s, AV_LOG_ERROR, "muxing codec currently unsupported\n");
         return AVERROR_PATCHWELCOME;
     }