diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-24 13:58:22 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-04-24 13:58:22 +0000 |
commit | be51192502938b8ad14dae72498829df705a1800 (patch) | |
tree | 92d346a7afaa0f59f6f1bdcc7788abe8d4b30072 /libavformat/mov.c | |
parent | 3fd6b3368ad0cd12741ff327c5af6f3086a5de42 (diff) | |
download | ffmpeg-streaming-be51192502938b8ad14dae72498829df705a1800.zip ffmpeg-streaming-be51192502938b8ad14dae72498829df705a1800.tar.gz |
set alac frame size from extradata
Originally committed as revision 12937 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index c4fd248..91f27c4 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -936,6 +936,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) case CODEC_ID_ADPCM_IMA_WAV: st->codec->block_align = sc->bytes_per_frame; break; + case CODEC_ID_ALAC: + if (st->codec->extradata_size == 36) + st->codec->frame_size = AV_RB32((st->codec->extradata+12)); + break; default: break; } |