[FFmpeg-devel] [PATCH 8/9] avcodec/vp8: Forward return of ff_vpx_init_range_decoder()

Michael Niedermayer michael at niedermayer.cc
Sun May 19 22:43:00 EEST 2024


On Sat, May 18, 2024 at 11:07:15AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Fri, May 17, 2024 at 11:59 PM Michael Niedermayer <michael at niedermayer.cc>
> wrote:
> 
> > Fixes: CID1507483 Unchecked return value
> >
> > Sponsored-by: Sovereign Tech Fund
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> >  libavcodec/vp8.c | 3 +--
> >  1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
> > index 19f32b34006..8e91613068a 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)
> > --
> > 2.45.1
> >
> 
> OK.

will apply

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is a danger to trust the dream we wish for rather than
the science we have, -- Dr. Kenneth Brown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240519/291a2aa9/attachment.sig>


More information about the ffmpeg-devel mailing list