History

Add av_printf_format, for marking printf style format strings and their parameters

Martin Storsjö committed 15 years ago

Commit 67e9ae11 parent 9e197043 files · +6 −1Browse files

Unified · Split

3 files
  1. doc/APIchanges +3 −0
  2. libavutil/attributes.h +2 −0
  3. libavutil/avutil.h +1 −1
doc/APIchanges+3−0
@@ -13,6 +13,9 @@ libavutil: 2011-04-18 · 12 unmodified lines
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162011-06-xx - xxxxxxx - lavu 51.8.0 - attributes.h
17 Add av_printf_format().
18
162011-06-xx - xxxxxxx - lavf 53.2.0 - avformat.h192011-06-xx - xxxxxxx - lavf 53.2.0 - avformat.h
17 Add avformat_open_input and avformat_write_header().20 Add avformat_open_input and avformat_write_header().
18 Deprecate av_open_input_stream, av_open_input_file,21 Deprecate av_open_input_stream, av_open_input_file,
libavutil/attributes.h+2−0
@@ -127,8 +127,10 @@ · 126 unmodified lines
127 127
128#ifdef __GNUC__128#ifdef __GNUC__
129# define av_builtin_constant_p __builtin_constant_p129# define av_builtin_constant_p __builtin_constant_p
130# define av_printf_format(fmtpos, attrpos) __attribute__((__format__(__printf__, fmtpos, attrpos)))
130#else131#else
131# define av_builtin_constant_p(x) 0132# define av_builtin_constant_p(x) 0
133# define av_printf_format(fmtpos, attrpos)
132#endif134#endif
133 135
134#endif /* AVUTIL_ATTRIBUTES_H */136#endif /* AVUTIL_ATTRIBUTES_H */
libavutil/avutil.h+1−1
@@ -40,7 +40,7 @@ · 39 unmodified lines
40#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)40#define AV_VERSION(a, b, c) AV_VERSION_DOT(a, b, c)
41 41
42#define LIBAVUTIL_VERSION_MAJOR 5142#define LIBAVUTIL_VERSION_MAJOR 51
43#define LIBAVUTIL_VERSION_MINOR 743#define LIBAVUTIL_VERSION_MINOR 8
44#define LIBAVUTIL_VERSION_MICRO 044#define LIBAVUTIL_VERSION_MICRO 0
45 45
46#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \46#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t