aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/eval.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-22 22:22:40 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-06-22 22:22:40 +0000
commit1c2744d139e84eb205909c378b271995753c8e1a (patch)
treefe4e199360fcabe63ad7cb9eb9193a3885b0d480 /libavcodec/eval.c
parentb394438e8a4d7e43a90a85ec3bebd889255d759a (diff)
downloadffmpeg-1c2744d139e84eb205909c378b271995753c8e1a.tar.gz
Export av_strtod() to eval.h.
Originally committed as revision 19252 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/eval.c')
-rw-r--r--libavcodec/eval.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/eval.c b/libavcodec/eval.c
index 8d79a3341a..d757749e88 100644
--- a/libavcodec/eval.c
+++ b/libavcodec/eval.c
@@ -82,11 +82,7 @@ static const int8_t si_prefixes['z' - 'E' + 1]={
['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);