# HG changeset patch # User bcoudurier # Date 1209045502 0 # Node ID 0b65c21ef10f212709b8be26cf39540d158eaf57 # Parent 2061eed3a58374022212a502806128d0b9173787 set alac frame size from extradata diff -r 2061eed3a583 -r 0b65c21ef10f mov.c --- a/mov.c Thu Apr 24 10:17:55 2008 +0000 +++ b/mov.c Thu Apr 24 13:58:22 2008 +0000 @@ -936,6 +936,10 @@ 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; }