diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-23 02:33:37 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-06-01 18:01:29 +0200 |
commit | 00d029d5c0b7029720265d579389a348220decfb (patch) | |
tree | e92f12132f3f2d3feb7c1baad0e0c5b5ca354c6b /libavcodec/sga.c | |
parent | 70b499476213a198ac0f39450cddaea4b34662f5 (diff) | |
download | ffmpeg-00d029d5c0b7029720265d579389a348220decfb.tar.gz |
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>
Diffstat (limited to 'libavcodec/sga.c')
-rw-r--r-- | libavcodec/sga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sga.c b/libavcodec/sga.c index 0f42cf912b..618df000ad 100644 --- a/libavcodec/sga.c +++ b/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++) { |