mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Add a function to convert a number to a av_malloced string.
Originally committed as revision 20829 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
005d9b57ad
commit
277c733237
3 changed files with 13 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
#define AVUTIL_AVSTRING_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include "mem.h"
|
||||
|
||||
/**
|
||||
* Return non-zero if pfx is a prefix of str. If it is, *ptr is set to
|
||||
|
|
@ -95,4 +96,9 @@ size_t av_strlcat(char *dst, const char *src, size_t size);
|
|||
*/
|
||||
size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...);
|
||||
|
||||
/**
|
||||
* Convert a number to a av_malloced string.
|
||||
*/
|
||||
char *av_d2str(double d);
|
||||
|
||||
#endif /* AVUTIL_AVSTRING_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue