From a41104f86a296299cd74f2878e08312b5079cc8f Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 7 Sep 2006 20:19:37 +0000 Subject: fix sound of SampleVideo.mov (mp2 in mov) Originally committed as revision 6191 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavformat/mov.c') diff --git a/libavformat/mov.c b/libavformat/mov.c index 30295d9e56..8441a32080 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1065,6 +1065,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) st->codec->sample_rate= 8000; st->codec->channels= 1; /* really needed */ break; + case CODEC_ID_MP2: + st->need_parsing = 1; + break; default: break; } -- cgit v1.2.3