From 6f51674c91cfcae0c0fdebf23d9cb9a3e294f09b Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 31 May 2015 01:40:12 +0200 Subject: postproc: Avoid floats in maxClipped computation Signed-off-by: Michael Niedermayer --- libpostproc/postprocess_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpostproc/postprocess_internal.h') diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h index c1a306dd32..d128dfbe2f 100644 --- a/libpostproc/postprocess_internal.h +++ b/libpostproc/postprocess_internal.h @@ -99,7 +99,7 @@ typedef struct PPMode{ int minAllowedY; ///< for brightness correction int maxAllowedY; ///< for brightness correction - float maxClippedThreshold; ///< amount of "black" you are willing to lose to get a brightness-corrected picture + AVRational maxClippedThreshold; ///< amount of "black" you are willing to lose to get a brightness-corrected picture int maxTmpNoise[3]; ///< for Temporal Noise Reducing filter (Maximal sum of abs differences) -- cgit v1.2.3