projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3d07c1
)
In mov demuxer, read alac sample from extradata, fix #2406
author
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Tue, 7 Dec 2010 01:38:26 +0000
(
01:38
+0000)
committer
Baptiste Coudurier
<baptiste.coudurier@gmail.com>
Tue, 7 Dec 2010 01:38:26 +0000
(
01:38
+0000)
Originally committed as revision 25901 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index eeeba40cd573a8638d68b4069c62477da5355a6f..9788e41a3ebdd677e93787b1bd726966d71be811 100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-1230,6
+1230,7
@@
int ff_mov_read_stsd_entries(MOVContext *c, ByteIOContext *pb, int entries)
if (st->codec->extradata_size == 36) {
st->codec->frame_size = AV_RB32(st->codec->extradata+12);
st->codec->channels = AV_RB8 (st->codec->extradata+21);
+ st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
}
break;
default: