[FFmpeg-devel] [PATCH] lavfi/hue: factorize setting options logic

Jérémy TRAN tran.jeremy.av at gmail.com
Mon Sep 3 15:48:47 CEST 2012


2012/9/3 Stefano Sabatini <stefasab at gmail.com>:
> +    if (hue->saturation == -FLT_MAX)
> +        hue->saturation = saturation_old;

Is it really necessary to do this for the saturation as well ?
Wasn't the -FLT_MAX thing there to prevent the user from setting hue
in degrees and radians at the same time ?

-- 
Jérémy Tran
ACU 2013
EPITA GISTRE 2013


More information about the ffmpeg-devel mailing list