[FFmpeg-devel] [PATCH 1/2] lavfi/src_movie: remove frame from priv context
lukasz.m.luki2 at gmail.com
Sun May 11 06:12:52 CEST 2014
On 11.05.2014 06:08, Lukasz Marek wrote:
> This variable is used only inside one function.
> There is no need to store it in context.
> This also may prevent crush by double free frame.
> + ret = ff_filter_frame(outlink, frame);
> if (ret < 0)
> return ret;
To be precise I haven't got a crush, but as i see ff_filter_frame
get a pointer to frame and it frees it internally (reseting copy of the
pointer) and there is pointer to it in movie context that can freed
again in uninit function.
More information about the ffmpeg-devel