[FFmpeg-cvslog] avcodec/prosumer: Remove unneeded ()
Michael Niedermayer
git at videolan.org
Sun Nov 4 21:57:53 EET 2018
ffmpeg | branch: release/4.1 | Michael Niedermayer <michael at niedermayer.cc> | Wed Oct 31 10:18:45 2018 +0100| [a163384467ddaef143b86d611d3717ffbc4a0134] | committer: Michael Niedermayer
avcodec/prosumer: Remove unneeded ()
Reviewed-by: Paul B Mahol <onemda at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 506839a3e9cc34c8f719937430008fc12d132fce)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a163384467ddaef143b86d611d3717ffbc4a0134
---
libavcodec/prosumer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/prosumer.c b/libavcodec/prosumer.c
index 2fd9880ee1..24905ac80f 100644
--- a/libavcodec/prosumer.c
+++ b/libavcodec/prosumer.c
@@ -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) {
More information about the ffmpeg-cvslog
mailing list