[FFmpeg-devel] [PATCH] lavfi: create reference in filters which needs to access the ref later

Nicolas George nicolas.george at normalesup.org
Wed Apr 25 00:44:53 CEST 2012


Le septidi 7 floréal, an CCXX, Stefano Sabatini a écrit :
> +static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
> +{
> +    avfilter_start_frame(inlink->dst->outputs[0], avfilter_ref_buffer(picref, ~0));
> +}

> +static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
> +{
> +    avfilter_start_frame(inlink->dst->outputs[0], avfilter_ref_buffer(picref, ~0));
> +}

> +static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
> +{
> +    avfilter_start_frame(inlink->dst->outputs[0], avfilter_ref_buffer(picref, ~0));

> +static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref)
> +{
> +    avfilter_start_frame(inlink->dst->outputs[0], avfilter_ref_buffer(picref, ~0));
> +}

That could be a common function in defaults.c

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120425/0742ccba/attachment.asc>


More information about the ffmpeg-devel mailing list