avio: add detail to avio_printf() size warning

Previous "currently size is limited" didn't give away
much in terms of useful info.
Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
parent b25ac3c9
...@@ -458,7 +458,7 @@ attribute_deprecated ...@@ -458,7 +458,7 @@ attribute_deprecated
int url_feof(AVIOContext *s); int url_feof(AVIOContext *s);
#endif #endif
/** @warning currently size is limited */ /** @warning Writes up to 4 KiB per call */
int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3); int avio_printf(AVIOContext *s, const char *fmt, ...) av_printf_format(2, 3);
/** /**
......
...@@ -968,7 +968,7 @@ int avio_closep(AVIOContext **s) ...@@ -968,7 +968,7 @@ int avio_closep(AVIOContext **s)
int avio_printf(AVIOContext *s, const char *fmt, ...) int avio_printf(AVIOContext *s, const char *fmt, ...)
{ {
va_list ap; va_list ap;
char buf[4096]; char buf[4096]; /* update doc entry in avio.h if changed */
int ret; int ret;
va_start(ap, fmt); va_start(ap, fmt);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment