diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-12-07 01:38:26 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2010-12-07 01:38:26 +0000 |
commit | c6f1e29a15cada5e1f7247f2b778cc360bb7b5c1 (patch) | |
tree | b4b17e30d475aa792198c110e2a38422509a5b53 /libavformat/mov.c | |
parent | c3d07c173b2438d07056efd671a3f36361351552 (diff) | |
download | ffmpeg-c6f1e29a15cada5e1f7247f2b778cc360bb7b5c1.tar.gz |
In mov demuxer, read alac sample from extradata, fix #2406
Originally committed as revision 25901 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index eeeba40cd5..9788e41a3e 100644 --- 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: |