mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-03 05:10:03 +02:00
avcodec/prosumer: Remove always true check in decompress()
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 1dfa0b6f36
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a163384467
commit
fd05e20650
@ -62,7 +62,7 @@ static int decompress(GetByteContext *gb, int size, PutByteContext *pb, const ui
|
||||
if ((b & 0xFF00u) != 0x8000u || (b & 0xFFu)) {
|
||||
if ((b & 0xFF00u) != 0x8000u) {
|
||||
bytestream2_put_le16(pb, b);
|
||||
} else if (b & 0xFFu) {
|
||||
} else {
|
||||
idx = 0;
|
||||
for (int i = 0; i < (b & 0xFFu); i++)
|
||||
bytestream2_put_le32(pb, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user