"Ronald S. Bultje" <[email protected]> writes:

> Coverage for output.c: +26.6% (61.9% -> 87.5%), swscale.c: +8.4% (79.3%
> -> 87.7%), overall libswscale: +7.0% (51.9% -> 58.9%).
> ---
>  tests/lavfi-regression.sh              |   11 +++--
>  tests/ref/lavfi/pixfmts_scale_bilinear |   64 
> ++++++++++++++++++++++++++++++++
>  2 files changed, 71 insertions(+), 4 deletions(-)
>  create mode 100644 tests/ref/lavfi/pixfmts_scale_bilinear
>
> diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh
> index f8c0c4e..e69e4e0 100755
> --- a/tests/lavfi-regression.sh
> +++ b/tests/lavfi-regression.sh
> @@ -40,13 +40,14 @@ do_lavfi "vflip_crop"         
> "vflip,crop=iw-100:ih-100:100:100"
>  do_lavfi "vflip_vflip"        "vflip,vflip"
>
>  do_lavfi_pixfmts(){
> -    test ${test%_[bl]e} = pixfmts_$1 || return 0
> +    test ${test%_[bl]e} = pixfmts_${4:-${1}} || return 0

I'd prefer giving ${4:-$1} a name rather than repeating it everywhere.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to