[FFmpeg-devel] [PATCH] lavf/avformat.h: fix/extend documentation for av_get_frame_filename()

Stefano Sabatini stefasab at gmail.com
Thu Jan 24 15:36:20 CET 2013


---
 libavformat/avformat.h |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 8330c6b..6a02ed8 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -1999,14 +1999,14 @@ void av_dump_format(AVFormatContext *ic,
 /**
  * Return in 'buf' the path with '%d' replaced by a number.
  *
- * Also handles the '%0nd' format where 'n' is the total number
- * of digits and '%%'.
+ * Also handle the '%0nd' format where 'n' is the total number of
+ * digits and '0'. The sequence '%%' is expanded to a literal '%'.
  *
  * @param buf destination buffer
  * @param buf_size destination buffer size
  * @param path numbered sequence string
  * @param number frame number
- * @return 0 if OK, -1 on format error
+ * @return 0 in case of success, -1 in case of format error
  */
 int av_get_frame_filename(char *buf, int buf_size,
                           const char *path, int number);
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list