]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/dxv.c
avcodec/exr: Mark up the decoded buffer as the appropriate transfer characteristic...
[ffmpeg] / libavcodec / dxv.c
index 69bd2a1e203360bce3354c21622c82454bc6c327..e20e940fedc794bef7ed88355ce6d03b9c1f1f67 100644 (file)
@@ -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;