---
libavcodec/txd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/txd.c b/libavcodec/txd.c
index 74ffff6..5b75682 100644
--- a/libavcodec/txd.c
+++ b/libavcodec/txd.c
@@ -108,7 +108,7 @@ static int txd_decode_frame(AVCodecContext *avctx, void
*data, int *data_size,
} else if (depth == 16) {
switch (d3d_format) {
case 0:
- if (!flags&1) goto unsupported;
+ if (!(flags&1)) goto unsupported;
case FF_S3TC_DXT1:
ff_decode_dxt1(cur, ptr, w, h, stride);
break;
--
1.7.3.1
This is my best guess as to what the author intended. This hunk as remained
unchanged since the original txd commit. Do we have any txd experts here to
verify that this is what we want?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel