OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad4648
)
fix sound of SampleVideo.mov (mp2 in mov)
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 7 Sep 2006 20:19:37 +0000
(20:19 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 7 Sep 2006 20:19:37 +0000
(20:19 +0000)
Originally committed as revision 6191 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
30295d9
..
8441a32
100644
(file)
--- 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;
}