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. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
