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_smartblur.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libmpcodecs/vf_smartblur.c') diff --git a/libmpcodecs/vf_smartblur.c b/libmpcodecs/vf_smartblur.c index bdc4064ed2..a83a11e46b 100644 --- a/libmpcodecs/vf_smartblur.c +++ b/libmpcodecs/vf_smartblur.c @@ -25,10 +25,6 @@ #include "../config.h" #include "../mp_msg.h" -#ifdef USE_SETLOCALE -#include -#endif - #ifdef HAVE_MALLOC_H #include #endif @@ -235,9 +231,6 @@ static int open(vf_instance_t *vf, char* args){ if(args==NULL) return 0; -#ifdef USE_SETLOCALE - setlocale( LC_NUMERIC, "C" ); -#endif e=sscanf(args, "%f:%f:%d:%f:%f:%d", &vf->priv->luma.radius, &vf->priv->luma.strength, @@ -246,9 +239,6 @@ static int open(vf_instance_t *vf, char* args){ &vf->priv->chroma.strength, &vf->priv->chroma.threshold ); -#ifdef USE_SETLOCALE - setlocale( LC_NUMERIC, "" ); -#endif vf->priv->luma.quality = vf->priv->chroma.quality= 3.0; -- cgit v1.2.3