avidec: Fix XAN DPCM demuxing.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-08-03 19:01:09 +02:00
parent 324b8adca4
commit 652c772981
1 changed files with 1 additions and 0 deletions

View File

@ -667,6 +667,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
if (st->codec->stream_codec_tag == AV_RL32("Axan")){
st->codec->codec_id = CODEC_ID_XAN_DPCM;
st->codec->codec_tag = 0;
ast->dshow_block_align = 0;
}
if (amv_file_format){
st->codec->codec_id = CODEC_ID_ADPCM_IMA_AMV;