aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/avstring.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2023-01-11 10:37:58 -0300
committerAnton Khirnov <anton@khirnov.net>2023-02-09 15:35:14 +0100
commit30e1e7e0f324d7bf66b3b8583a3e49fd3cd101b2 (patch)
treefab03699d47933580b75b39bf9f1c99a2af1a9c2 /libavutil/avstring.c
parent4fcd6c82cf45160880be35e6c097708323d9d93f (diff)
downloadffmpeg-30e1e7e0f324d7bf66b3b8583a3e49fd3cd101b2.tar.gz
avutil: remove FF_API_D2STR
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/avstring.c')
-rw-r--r--libavutil/avstring.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 5ddbe9219e..e460b5be7f 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -139,16 +139,6 @@ end:
return p;
}
-#if FF_API_D2STR
-char *av_d2str(double d)
-{
- char *str = av_malloc(16);
- if (str)
- snprintf(str, 16, "%f", d);
- return str;
-}
-#endif
-
#define WHITESPACES " \n\t\r"
char *av_get_token(const char **buf, const char *term)