aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-03 19:01:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-03 19:02:33 +0200
commit652c772981f18c8d1523b572a4c57606801c60e7 (patch)
tree75087f12a73af9871e402935e304b9cc5d8596d6 /libavformat/avidec.c
parent324b8adca4455cff861b6587921ce68df6cee286 (diff)
downloadffmpeg-652c772981f18c8d1523b572a4c57606801c60e7.tar.gz
avidec: Fix XAN DPCM demuxing.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index b9da236412..2814b89d22 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -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;