[FFmpeg-devel] [PATCH 1/2] avfilter: change ff_inlink_make_frame_writable() to take AVFrame* argument

wm4 nfxjfg at googlemail.com
Sat Jan 28 17:57:37 EET 2017

On Sat, 28 Jan 2017 16:43:36 +0100
Nicolas George <george at nsup.org> wrote:

> Le nonidi 9 pluviôse, an CCXXV, Muhammad Faiz a écrit :
> > so the behavior will be similar to
> > av_frame_make_writable().  
> The point was to move away from that. Who copies a struct when you can
> move a pointer?
> Regards,

Because it's trickier, harder to use, and creates the risk of dangling
pointers that will be spotted only if a frame was not writable.

More information about the ffmpeg-devel mailing list