From 18e7e21e2fb151d9dc01b6131b58dfc00715a69b Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <cehoyos@ag.or.at>
Date: Thu, 24 Apr 2014 18:02:20 +0200
Subject: [PATCH] Enable muxing ac-3 in caf.

The files play fine with QuickTime.
---
 libavformat/cafenc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/cafenc.c b/libavformat/cafenc.c
index ae36b85cb18..f94101ab020 100644
--- a/libavformat/cafenc.c
+++ b/libavformat/cafenc.c
@@ -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;
     }
-- 
GitLab