[FFmpeg-cvslog] lavc/dxv: Support more real-world old version samples.
Carl Eugen Hoyos
git at videolan.org
Tue Sep 8 10:18:49 CEST 2015
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Sep 8 10:18:16 2015 +0200| [9b2802f0d3296059a61b0f323ee0fc86eba48bf5] | committer: Carl Eugen Hoyos
lavc/dxv: Support more real-world old version samples.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9b2802f0d3296059a61b0f323ee0fc86eba48bf5
---
libavcodec/dxv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/dxv.c b/libavcodec/dxv.c
index 69bd2a1..e20e940 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;
More information about the ffmpeg-cvslog
mailing list