[FFmpeg-devel] [PATCH]Fix a crash on oom in hevc decoder

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Oct 31 20:18:52 CET 2013


Ronald S. Bultje <rsbultje <at> gmail.com> writes:

> > > -    av_freep(&lc->edge_emu_buffer);
> > > +    if (lc)
> > > +        av_freep(&lc->edge_emu_buffer);
> >
> > should be ok

Patch applied.

> Is there still a need to allocate edge_emu_buffer 
> on-the-fly like this?

Sorry if this was meant to stop the patch, I read 
the mail after pushing.

Carl Eugen



More information about the ffmpeg-devel mailing list