On Sun, Nov 27, 2011 at 04:20:15PM -0800, Alex Converse wrote:
> 
> --- 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;

extra good karma for breaking the line and adding spaces around '&'.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to