[Mplayer-cvslog] CVS: main/libmpcodecs vf_smartblur.c,1.1,1.2
Rémi Guyomarch CVS
rguyom at mplayerhq.hu
Sun Nov 24 07:24:10 CET 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv29954
Modified Files:
vf_smartblur.c
Log Message:
Locale fix.
Index: vf_smartblur.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_smartblur.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vf_smartblur.c 4 Nov 2002 20:39:27 -0000 1.1
+++ vf_smartblur.c 24 Nov 2002 06:23:50 -0000 1.2
@@ -25,6 +25,10 @@
#include "../config.h"
#include "../mp_msg.h"
+#ifdef USE_SETLOCALE
+#include <locale.h>
+#endif
+
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#endif
@@ -230,6 +234,9 @@
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,
@@ -238,6 +245,9 @@
&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;
More information about the MPlayer-cvslog
mailing list