summaryrefslogtreecommitdiff
path: root/libavcodec/dxv.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-08 10:18:16 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-09-08 10:18:16 +0200
commit9b2802f0d3296059a61b0f323ee0fc86eba48bf5 (patch)
tree5c6f256743f5942858676c1f6fc6d177c0c9be1f /libavcodec/dxv.c
parent84c9bf62b42c5505ada727817954a0a41463ccac (diff)
lavc/dxv: Support more real-world old version samples.
Diffstat (limited to 'libavcodec/dxv.c')
-rw-r--r--libavcodec/dxv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index 69bd2a1e20..e20e940fed 100644
--- a/libavcodec/dxv.c
+++ b/libavcodec/dxv.c
@@ -356,7 +356,7 @@ static int dxv_decode(AVCodecContext *avctx, void *data,
av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT5 texture ");
ctx->tex_funct = ctx->texdsp.dxt5_block;
ctx->tex_step = 16;
- } else if (old_type & 0x20) {
+ } else if (old_type & 0x20 || old_type & 0x2) {
av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT1 texture ");
ctx->tex_funct = ctx->texdsp.dxt1_block;
ctx->tex_step = 8;