Browse Source

txd: Fix order of operations.

tags/n0.9
Alex Converse 14 years ago
parent
commit
a27805189b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libavcodec/txd.c

+ 2
- 1
libavcodec/txd.c View File

@@ -108,7 +108,8 @@ 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;


Loading…
Cancel
Save