Add back 2 patches for histogram and overlayframe that are working correctly and...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / histogram / histogram.C
index c78c3c7c44eb3b44c547de8f81059dd7f4ba7b68..4b55f429aaa63a2cb1ae9b78cb7068153c7f8dba 100644 (file)
@@ -234,7 +234,7 @@ float HistogramMain::calculate_level(float input, int mode, int use_value)
 
        if( !EQUIV(config.gamma[mode], 0) ) {
                output = pow(output, 1.0 / config.gamma[mode]);
-               CLAMP(output, 0, 1.0);
+               CLAMP(output, 0, 100.0);
        }
 
 // Apply value curve