diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-18 03:06:46 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2024-05-19 22:12:54 +0200 |
commit | 63feed1519c5e38d6ce146f265c48592236e3abc (patch) | |
tree | ff3a8b9ce0c1853d7e6b904bb1eb607692966225 /libavcodec/vp8.c | |
parent | 90ce54804a6624c514da8c1fe806c5b133637ac1 (diff) | |
download | ffmpeg-63feed1519c5e38d6ce146f265c48592236e3abc.tar.gz |
avcodec/vp8: Forward return of ff_vpx_init_range_decoder()
Fixes: CID1507483 Unchecked return value
Sponsored-by: Sovereign Tech Fund
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/vp8.c')
-rw-r--r-- | libavcodec/vp8.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index 19f32b3400..8e91613068 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -341,9 +341,8 @@ static int setup_partitions(VP8Context *s, const uint8_t *buf, int buf_size) } s->coeff_partition_size[i] = buf_size; - ff_vpx_init_range_decoder(&s->coeff_partition[i], buf, buf_size); - return 0; + return ff_vpx_init_range_decoder(&s->coeff_partition[i], buf, buf_size); } static void vp7_get_quants(VP8Context *s) |