[FFmpeg-devel] rectification filter

Paul B Mahol onemda at gmail.com
Fri Aug 1 12:21:03 CEST 2014


On Fri, Aug 1, 2014 at 12:19 PM, Clément Bœsch <u at pkh.me> wrote:

> On Fri, Aug 01, 2014 at 12:10:50PM +0200, Daniel Oberhoff wrote:
> >
> > Am 29.07.2014 um 09:43 schrieb Clément Bœsch <u at pkh.me>:
> >
> > > On Tue, Jul 29, 2014 at 08:04:50AM +0200, Daniel Oberhoff wrote:
> > >> Updated patch:
> >
> > …
> >
> > >> +static av_cold int init(AVFilterContext *ctx)
> > >> +{
> > >> +    return 0;
> > >> +}
> > >> +
> > >> +static av_cold void uninit(AVFilterContext *ctx)
> > >> +{
> > >> +}
> > >> +
> > >
> > > It doesn't work with NULL I suppose?
> >
> > What do you mean? This was copied pasted I think from rotate.
> >
>
> I mean if you set init to NULL (or just don't set an init callback); I
> don't remember if the callback is mandatory.
>
>
Init callback is not mandatory.


More information about the ffmpeg-devel mailing list