mirror of https://git.ffmpeg.org/ffmpeg.git
avidec: Fix XAN DPCM demuxing.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
324b8adca4
commit
652c772981
|
@ -667,6 +667,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
|
||||||
if (st->codec->stream_codec_tag == AV_RL32("Axan")){
|
if (st->codec->stream_codec_tag == AV_RL32("Axan")){
|
||||||
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;
|
||||||
|
ast->dshow_block_align = 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;
|
||||||
|
|
Loading…
Reference in New Issue