mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +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>
This commit is contained in:
parent
70b4994762
commit
00d029d5c0
@ -73,7 +73,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