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>
release/7.1
Michael Niedermayer 9 months ago
parent 70b4994762
commit 00d029d5c0
No known key found for this signature in database
GPG Key ID: B18E8928B3948D64
  1. 2
      libavcodec/sga.c

@ -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…
Cancel
Save