Mercurial > libavformat.hg
changeset 3242:0b65c21ef10f libavformat
set alac frame size from extradata
author | bcoudurier |
---|---|
date | Thu, 24 Apr 2008 13:58:22 +0000 |
parents | 2061eed3a583 |
children | 355683c241dd |
files | mov.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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; }