On Wed, 25 Jul 2012 02:45:39 +0000, Loren Merritt <[email protected]>
wrote:
> ---
> libavfilter/vf_hqdn3d.c | 21 ++++++++++++++++++++-
> 1 files changed, 20 insertions(+), 1 deletions(-)
>
> diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c
> index cbc4ab9..5a90df3 100644
> --- a/libavfilter/vf_hqdn3d.c
> +++ b/libavfilter/vf_hqdn3d.c
> @@ -294,6 +294,23 @@ static int config_input(AVFilterLink *inlink)
> return 0;
> }
>
> +static void start_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
This seems to be based on an outdated tree. start_frame returns int now.
> +{
> + AVFilterLink *outlink = inlink->dst->outputs[0];
> + AVFilterBufferRef *outpicref;
> +
> + if (inpicref->perms & AV_PERM_PRESERVE) {
I won't pretend to understand how lavfi permissions work, but don't you
also need to check for AV_PERM_WRITE?
--
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel