[FFmpeg-devel] [PATCH]Parse ac3 in mov

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Sep 21 13:22:46 CEST 2011


Hi!

Attached patch fixes ticket #494.

Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 70cd776..6ed06ff 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1272,6 +1272,8 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
             st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
         }
         break;
+    case CODEC_ID_AC3:
+            st->need_parsing = AVSTREAM_PARSE_FULL;
     default:
         break;
     }


More information about the ffmpeg-devel mailing list