mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
lavc/dxv: Support more real-world old version samples.
This commit is contained in:
parent
84c9bf62b4
commit
9b2802f0d3
@ -356,7 +356,7 @@ static int dxv_decode(AVCodecContext *avctx, void *data,
|
|||||||
av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT5 texture ");
|
av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT5 texture ");
|
||||||
ctx->tex_funct = ctx->texdsp.dxt5_block;
|
ctx->tex_funct = ctx->texdsp.dxt5_block;
|
||||||
ctx->tex_step = 16;
|
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 ");
|
av_log(avctx, AV_LOG_DEBUG, "LZF compression and DXT1 texture ");
|
||||||
ctx->tex_funct = ctx->texdsp.dxt1_block;
|
ctx->tex_funct = ctx->texdsp.dxt1_block;
|
||||||
ctx->tex_step = 8;
|
ctx->tex_step = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user