mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-01 08:21:02 +00:00
avcodec/wavpack: Remove dead assignments
Fixes: CID1442018 Unused value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2e5433dc12
commit
30f2bac9f7
@ -1418,13 +1418,13 @@ static int wavpack_decode_block(AVCodecContext *avctx, AVFrame *frame, int block
|
|||||||
chmask = bytestream2_get_le32(&gb);
|
chmask = bytestream2_get_le32(&gb);
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
size = bytestream2_get_byte(&gb);
|
bytestream2_get_byte(&gb);
|
||||||
chan |= (bytestream2_get_byte(&gb) & 0xF) << 8;
|
chan |= (bytestream2_get_byte(&gb) & 0xF) << 8;
|
||||||
chan += 1;
|
chan += 1;
|
||||||
chmask = bytestream2_get_le24(&gb);
|
chmask = bytestream2_get_le24(&gb);
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
size = bytestream2_get_byte(&gb);
|
bytestream2_get_byte(&gb);
|
||||||
chan |= (bytestream2_get_byte(&gb) & 0xF) << 8;
|
chan |= (bytestream2_get_byte(&gb) & 0xF) << 8;
|
||||||
chan += 1;
|
chan += 1;
|
||||||
chmask = bytestream2_get_le32(&gb);
|
chmask = bytestream2_get_le32(&gb);
|
||||||
|
Loading…
Reference in New Issue
Block a user