[FFmpeg-devel] [PATCH] video stabilization plugins using vid.stab library
ubitux at gmail.com
Tue Mar 19 00:53:49 CET 2013
On Tue, Mar 19, 2013 at 12:43:39AM +0100, Georg Martius wrote:
> > > +
> > > + if(fd->args) av_free(fd->args);
> > No need to check for pointer before free.
> Okay, didn't know. Am I correct that the strings that are allocated in by the
> options are free'd on av_opt_free()?
Yes. That's one of the reason you generally call this function in the
uninit callback if you need the string outside the init function (in
filter_frame() or wherever).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel