[FFmpeg-devel] [PATCH]Fix a crash on oom in hevc decoder
Ronald S. Bultje
rsbultje at gmail.com
Thu Oct 31 20:30:57 CET 2013
On Thu, Oct 31, 2013 at 3:18 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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.
No it was more like a random comment for future work - your patch is fine.
More information about the ffmpeg-devel