Commit 9862f9e1 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

Disable dshow specific bug emulation for amv files as they arent

demuxed by ms dshows buggy demuxer normally.

Originally committed as revision 24012 to svn://
parent 89ac23cd
......@@ -593,8 +593,10 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
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;
st->codec->codec_type = AVMEDIA_TYPE_DATA;
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