diff eval.c @ 9880:e934c5f8f4a9 libavcodec

Export av_strtod() to eval.h.
author stefano
date Mon, 22 Jun 2009 22:22:40 +0000
parents d54ba41c7e48
children e557e75172b0
line wrap: on
line diff
--- a/eval.c	Sun Jun 21 21:37:05 2009 +0000
+++ b/eval.c	Mon Jun 22 22:22:40 2009 +0000
@@ -82,11 +82,7 @@
     ['Y'-'E']=  24,
 };
 
-/** strtod() function extended with 'k', 'M', 'G', 'ki', 'Mi', 'Gi' and 'B'
- * postfixes.  This allows using f.e. kB, MiB, G and B as a postfix. This
- * function assumes that the unit of numbers is bits not bytes.
- */
-static double av_strtod(const char *numstr, char **tail) {
+double av_strtod(const char *numstr, char **tail) {
     double d;
     char *next;
     d = strtod(numstr, &next);