[FFmpeg-devel] [PATCH] vf_unsharp: extend/improve feedback for validity checks

Stefano Sabatini stefano.sabatini-lala at poste.it
Sat Aug 13 01:29:25 CEST 2011

On date Saturday 2011-08-13 01:11:49 +0200, Stefano Sabatini encoded:
> Abort for invalid too big values, and exactly state why the input
> value is invalid.
> In particular, avoid out-of-buffer access with too big values.
> ---
>  libavfilter/vf_unsharp.c |   20 ++++++++++++++------
>  1 files changed, 14 insertions(+), 6 deletions(-)

Regarding the syntax, the mp=unsharp filter supports a format of the

while unsharp supports only (awkward) positional parameters.

A better mixed solution would be to implement a syntax of the kind:

for example:

while back-supporting the old syntax.
FFmpeg = Freak Faithless Muttering Power Erroneous Gadget

More information about the ffmpeg-devel mailing list