summaryrefslogtreecommitdiffstats
path: root/libavformat/img2dec.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-08-04 17:06:05 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-08-05 00:38:05 +0200
commit59e4e406732d856bd0ac39ac40c985fe3014b2b4 (patch)
treec4a59191747cd67e4443cb80cc76b9c32962f992 /libavformat/img2dec.c
parente408e329d22b17ee1ec3378b846b1be8d4d12cb0 (diff)
downloadffmpeg-streaming-59e4e406732d856bd0ac39ac40c985fe3014b2b4.zip
ffmpeg-streaming-59e4e406732d856bd0ac39ac40c985fe3014b2b4.tar.gz
lavf/img2dec: doxygen find_image_range() function
Diffstat (limited to 'libavformat/img2dec.c')
-rw-r--r--libavformat/img2dec.c10
1 files changed, 9 insertions, 1 deletions
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)
{
OpenPOWER on IntegriCloud