Commit 66a6883f authored by bcoudurier's avatar bcoudurier

set block align to stsd audio v2 bytes per frame for adpcm ms and ima wav, fix...

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9895 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e5cc5787
......@@ -844,6 +844,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment