mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-28 17:51:05 +00:00
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://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
89ac23cd40
commit
9862f9e149
@ -593,8 +593,10 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
|||||||
st->codec->codec_id = CODEC_ID_XAN_DPCM;
|
st->codec->codec_id = CODEC_ID_XAN_DPCM;
|
||||||
st->codec->codec_tag = 0;
|
st->codec->codec_tag = 0;
|
||||||
}
|
}
|
||||||
if (amv_file_format)
|
if (amv_file_format){
|
||||||
st->codec->codec_id = CODEC_ID_ADPCM_IMA_AMV;
|
st->codec->codec_id = CODEC_ID_ADPCM_IMA_AMV;
|
||||||
|
ast->dshow_block_align = 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
st->codec->codec_type = AVMEDIA_TYPE_DATA;
|
st->codec->codec_type = AVMEDIA_TYPE_DATA;
|
||||||
|
Loading…
Reference in New Issue
Block a user