mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01: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
376e36d253
commit
0eda3eaac4
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue