[FFmpeg-cvslog] lavf/img2dec: doxygen find_image_range() function
Stefano Sabatini
git at videolan.org
Sun Aug 5 00:40:10 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Aug 4 17:06:05 2012 +0200| [59e4e406732d856bd0ac39ac40c985fe3014b2b4] | committer: Stefano Sabatini
lavf/img2dec: doxygen find_image_range() function
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59e4e406732d856bd0ac39ac40c985fe3014b2b4
---
libavformat/img2dec.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 402caa8..e531214 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -108,7 +108,15 @@ static int is_glob(const char *path)
#endif
}
-/* return -1 if no image found */
+/**
+ * Get index range of image files matched by path.
+ *
+ * @param pfirst_index pointer to index updated with the first number in the range
+ * @param plast_index pointer to index updated with the last number in the range
+ * @param path path which has to be matched by the image files in the range
+ * @param start_index minimum accepted value for the first index in the range
+ * @return -1 if no image file could be found
+ */
static int find_image_range(int *pfirst_index, int *plast_index,
const char *path, int start_index)
{
More information about the ffmpeg-cvslog
mailing list