mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/sga: Make it clear that the return is intentionally not checked
Related: CID1473496 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 00d029d5c0
)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
980d1e530e
commit
8255f469bf
@ -72,7 +72,7 @@ static int decode_palette(GetByteContext *gb, uint32_t *pal)
|
||||
return AVERROR_INVALIDDATA;
|
||||
|
||||
memset(pal, 0, 16 * sizeof(*pal));
|
||||
init_get_bits8(&gbit, gb->buffer, 18);
|
||||
(void)init_get_bits8(&gbit, gb->buffer, 18);
|
||||
|
||||
for (int RGBIndex = 0; RGBIndex < 3; RGBIndex++) {
|
||||
for (int index = 0; index < 16; index++) {
|
||||
|
Loading…
Reference in New Issue
Block a user