avcodec/prosumer: Remove unneeded ()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 31 Oct 2018 09:18:45 +0000 (10:18 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 4 Nov 2018 19:26:49 +0000 (20:26 +0100)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 506839a3e9cc34c8f719937430008fc12d132fce)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/prosumer.c

index 2fd9880..24905ac 100644 (file)
@@ -59,7 +59,7 @@ static int decompress(GetByteContext *gb, int size, PutByteContext *pb, const ui
     while (1) {
         if (bytestream2_get_bytes_left_p(pb) <= 0 || bytestream2_get_eof(pb))
             return 0;
-        if (((b & 0xFF00u) != 0x8000u) || (b & 0xFFu)) {
+        if ((b & 0xFF00u) != 0x8000u || (b & 0xFFu)) {
             if ((b & 0xFF00u) != 0x8000u) {
                 bytestream2_put_le16(pb, b);
             } else if (b & 0xFFu) {