[FFmpeg-devel] [PATCH] lavfi: add init2 callback
Stefano Sabatini
stefasab at gmail.com
Fri Jul 6 11:34:12 CEST 2012
On date Friday 2012-07-06 09:43:38 +0200, Michael Niedermayer encoded:
> On Fri, Jul 06, 2012 at 01:22:17AM +0200, Stefano Sabatini wrote:
[...]
> > diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
> > index e08a389..dd45ed7 100644
> > --- a/libavfilter/avfilter.h
> > +++ b/libavfilter/avfilter.h
> > @@ -412,6 +412,12 @@ typedef struct AVFilter {
> > int (*init)(AVFilterContext *ctx, const char *args);
> >
> > /**
> > + * Filter initialization function. Args contains the user-supplied
> > + * parameters, opaque is used for providing binary data.
> > + */
> > + int (*init2)(AVFilterContext *ctx, const char *args, void *opaque);
> > +
> > + /**
> > * Filter uninitialization function. Should deallocate any memory held
> > * by the filter, release any buffer references, etc. This does not need
> > * to deallocate the AVFilterContext->priv memory itself.
>
> adding it in the middle breaks ABI
Fixed, and renamed.
--
FFmpeg = Foolish Faithful MultiPurpose Extravagant Ghost
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavfi-add-init_opaque-callback.patch
Type: text/x-diff
Size: 1658 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120706/f7d8f09a/attachment.bin>
More information about the ffmpeg-devel
mailing list