From 6e450282a69f5437b737872d798c611cbe7064ad Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 20 Jan 2005 13:22:53 +0000 Subject: remove all setlocale calls, they break the behaviour of sscanf and strcasecmp, especially with tr_TR locale - and do not seem to be good for anything. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14543 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_eq2.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libmpcodecs/vf_eq2.c') diff --git a/libmpcodecs/vf_eq2.c b/libmpcodecs/vf_eq2.c index f2641f9c0b..f9aea4f223 100644 --- a/libmpcodecs/vf_eq2.c +++ b/libmpcodecs/vf_eq2.c @@ -23,10 +23,6 @@ #include "mp_image.h" #include "vf.h" -#ifdef USE_SETLOCALE -#include -#endif - #define LUT16 /* Per channel parameters */ @@ -481,15 +477,9 @@ int open (vf_instance_t *vf, char *args) par[5] = 1.0; par[6] = 1.0; par[7] = 1.0; -#ifdef USE_SETLOCALE - setlocale (LC_NUMERIC, "C"); -#endif sscanf (args, "%lf:%lf:%lf:%lf:%lf:%lf:%lf:%lf", par, par + 1, par + 2, par + 3, par + 4, par + 5, par + 6, par + 7 ); -#ifdef USE_SETLOCALE - setlocale (LC_NUMERIC, ""); -#endif eq2->rgamma = par[4]; eq2->ggamma = par[5]; -- cgit v1.2.3