# HG changeset patch # User bcoudurier # Date 1186230814 0 # Node ID fe59c768ecf7e7e04aa7031e9602e4f05b73d28f # Parent 4f946c9ae9b3f166627fb2883d03f5ae537eec9a 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 diff -r 4f946c9ae9b3 -r fe59c768ecf7 mov.c --- 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; }