Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2019-12-26 21:32:23 +0300
committerNicolas George <george@nsup.org>2020-08-21 12:01:39 +0300
commit06f26512046de1a84e045d219e7fa211c37ad0e4 (patch)
tree711ef7a0823031d953c092095dc207a38b083769 /libavutil/avstring.h
parent412d63fe72d4398d0ffd271a9bd30c6ac9fc0deb (diff)
lavu/avstring: deprecate av_d2str().
It is no longer used in our code base and does not seem to be used much in other projects.
Diffstat (limited to 'libavutil/avstring.h')
-rw-r--r--libavutil/avstring.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 274335cfb9..ee225585b3 100644
--- a/libavutil/avstring.h
+++ b/libavutil/avstring.h
@@ -24,6 +24,7 @@
#include <stddef.h>
#include <stdint.h>
#include "attributes.h"
+#include "version.h"
/**
* @addtogroup lavu_string
@@ -155,10 +156,14 @@ static inline size_t av_strnlen(const char *s, size_t len)
*/
char *av_asprintf(const char *fmt, ...) av_printf_format(1, 2);
+#if FF_API_D2STR
/**
* Convert a number to an av_malloced string.
+ * @deprecated use av_asprintf() with "%f" or a more specific format
*/
+attribute_deprecated
char *av_d2str(double d);
+#endif
/**
* Unescape the given string until a non escaped terminating char,