aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sga.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2024-05-23 02:33:37 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2024-06-01 18:01:29 +0200
commit00d029d5c0b7029720265d579389a348220decfb (patch)
treee92f12132f3f2d3feb7c1baad0e0c5b5ca354c6b /libavcodec/sga.c
parent70b499476213a198ac0f39450cddaea4b34662f5 (diff)
downloadffmpeg-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.c2
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++) {