Index: gst/apetag/gstapedemux.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/gst/apetag/gstapedemux.c,v
retrieving revision 1.5
diff -u -p -u -r1.5 gstapedemux.c
--- gst/apetag/gstapedemux.c	4 Oct 2006 10:24:49 -0000	1.5
+++ gst/apetag/gstapedemux.c	6 Dec 2006 12:28:33 -0000
@@ -278,11 +278,14 @@ ape_demux_parse_tags (const guint8 * dat
         }
         case G_TYPE_DOUBLE:{
           gdouble v_double;
+          gchar *endptr;
 
-          if (sscanf (val, "%lf", &v_double) == 1) {
+          v_double = g_strtod (val, &endptr);
+          if (endptr != val) {
             g_value_init (&v, G_TYPE_DOUBLE);
             g_value_set_double (&v, v_double);
           }
+
           break;
         }
         default:{
