Mercurial > libavformat.hg
changeset 2299:fe59c768ecf7 libavformat
set block align to stsd audio v2 bytes per frame for adpcm ms and ima wav, fix surge-2-16-L-ms11.mov and surge-2-16-L-ms02.mov
author | bcoudurier |
---|---|
date | Sat, 04 Aug 2007 12:33:34 +0000 |
parents | 4f946c9ae9b3 |
children | 9c8cfadff191 |
files | mov.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Sat Aug 04 00:22:28 2007 +0000 +++ b/mov.c Sat Aug 04 12:33:34 2007 +0000 @@ -844,6 +844,10 @@ st->codec->codec_type = CODEC_TYPE_AUDIO; /* force type after stsd for m1a hdlr */ st->need_parsing = AVSTREAM_PARSE_FULL; break; + case CODEC_ID_ADPCM_MS: + case CODEC_ID_ADPCM_IMA_WAV: + st->codec->block_align = sc->bytes_per_frame; + break; default: break; }