# HG changeset patch # User michael # Date 1278113942 0 # Node ID 7b81ef3e7d99bf6866559f6781e49bd4855e3278 # Parent b8a6ed04da9102669e42cef56afd2fe30013f9c6 Disable dshow specific bug emulation for amv files as they arent demuxed by ms dshows buggy demuxer normally. diff -r b8a6ed04da91 -r 7b81ef3e7d99 avidec.c --- a/avidec.c Fri Jul 02 23:33:10 2010 +0000 +++ b/avidec.c Fri Jul 02 23:39:02 2010 +0000 @@ -593,8 +593,10 @@ st->codec->codec_id = CODEC_ID_XAN_DPCM; st->codec->codec_tag = 0; } - if (amv_file_format) + if (amv_file_format){ st->codec->codec_id = CODEC_ID_ADPCM_IMA_AMV; + ast->dshow_block_align = 0; + } break; default: st->codec->codec_type = AVMEDIA_TYPE_DATA;