From 36d04f9642df2953dfab27bd78b61866cf256d5b Mon Sep 17 00:00:00 2001
From: Vittorio Giovara <vittorio.giovara@gmail.com>
Date: Tue, 22 Sep 2015 13:53:16 +0200
Subject: [PATCH] dxv: Adjust old version check
---
libavcodec/dxv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index e375734..7e85f5b 100644
|
a
|
b
|
static int dxv_decode(AVCodecContext *avctx, void *data,
|
| 356 | 356 | av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT5 texture "); |
| 357 | 357 | ctx->tex_funct = ctx->texdsp.dxt5_block; |
| 358 | 358 | ctx->tex_step = 16; |
| 359 | | } else if (old_type & 0x20 || old_type & 0x2) { |
| | 359 | } else if (old_type & 0x20 || (old_type & 0x0F) == 2) { |
| 360 | 360 | av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT1 texture "); |
| 361 | 361 | ctx->tex_funct = ctx->texdsp.dxt1_block; |
| 362 | 362 | ctx->tex_step = 8; |