On 2014-01-04 10:35:35 +0100, Luca Barbato wrote:
> On 04/01/14 10:12, Anton Khirnov wrote:
> > There is no point in delaying the check and it avoids bugs with a
> > half-initialized context.
> > 
> > Fixes invalid reads.
> > 
> > Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
> > CC:[email protected]
> > ---
> >  libavcodec/h264.c    |    6 ------
> >  libavcodec/h264_ps.c |    5 +++++
> >  2 files changed, 5 insertions(+), 6 deletions(-)
> > 
> 
> Ok, assuming the function your removing the check from isn't called from
> different paths.

nothing to do with calling path, the place Anton is moving the check to
is the only place writing bit depths. patch ok

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to