Re: [libav-devel] [PATCH 07/25] vc1dec: wmv2dec: Validate ff_intrax8_common_init return value

2016-02-23 Thread Diego Biurrun
On Tue, Feb 23, 2016 at 10:23:37AM -0500, Vittorio Giovara wrote: > On Tue, Feb 23, 2016 at 6:09 AM, Diego Biurrun wrote: > > On Mon, Feb 22, 2016 at 08:17:31PM -0500, Vittorio Giovara wrote: > >> --- a/libavcodec/vc1dec.c > >> +++ b/libavcodec/vc1dec.c > >> @@ -360,7 +360,7 @@

Re: [libav-devel] [PATCH 07/25] vc1dec: wmv2dec: Validate ff_intrax8_common_init return value

2016-02-23 Thread Vittorio Giovara
On Tue, Feb 23, 2016 at 6:09 AM, Diego Biurrun wrote: > On Mon, Feb 22, 2016 at 08:17:31PM -0500, Vittorio Giovara wrote: >> --- a/libavcodec/vc1dec.c >> +++ b/libavcodec/vc1dec.c >> @@ -360,7 +360,7 @@ av_cold int ff_vc1_decode_init_alloc_tables(VC1Context >> *v) >> >> -

Re: [libav-devel] [PATCH 07/25] vc1dec: wmv2dec: Validate ff_intrax8_common_init return value

2016-02-23 Thread Diego Biurrun
On Mon, Feb 22, 2016 at 08:17:31PM -0500, Vittorio Giovara wrote: > --- a/libavcodec/vc1dec.c > +++ b/libavcodec/vc1dec.c > @@ -360,7 +360,7 @@ av_cold int ff_vc1_decode_init_alloc_tables(VC1Context *v) > > -ff_intrax8_common_init(>x8,s); > +ret = ff_intrax8_common_init(>x8, s); > >

[libav-devel] [PATCH 07/25] vc1dec: wmv2dec: Validate ff_intrax8_common_init return value

2016-02-22 Thread Vittorio Giovara
--- libavcodec/vc1dec.c | 6 +++--- libavcodec/wmv2dec.c | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index d65c68a..e60a084 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -314,7 +314,7 @@ static void