summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-09-07 20:19:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-09-07 20:19:37 +0000
commita41104f86a296299cd74f2878e08312b5079cc8f (patch)
tree3dc5f3198f453c7426ff324d1916ff4c25025043 /libavformat/mov.c
parent2ad4648f973e74cd2d42b9cae95e06b7d920007b (diff)
fix sound of SampleVideo.mov (mp2 in mov)
Originally committed as revision 6191 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c3
1 files changed, 3 insertions, 0 deletions
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;
}