Browse Source

In mov demuxer, read alac sample from extradata, fix #2406

Originally committed as revision 25901 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Baptiste Coudurier 15 years ago
parent
commit
c6f1e29a15
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/mov.c

+ 1
- 0
libavformat/mov.c View File

@@ -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:


Loading…
Cancel
Save