aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-07-17 01:30:43 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-28 17:13:14 +0200
commit7cea06d135c91bf21f3d2a095c2f610594bed7df (patch)
tree915f9103a56adeea64153630aa7e0e1e3979d5a9
parent3c7fa664af5b3c2abbedd489142a0f9b6690b364 (diff)
downloadffmpeg-7cea06d135c91bf21f3d2a095c2f610594bed7df.tar.gz
cmdutils: clarify documentation for setup_find_stream_info_opts()
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--cmdutils.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/cmdutils.h b/cmdutils.h
index a47f15785d..90e0a25850 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -153,8 +153,16 @@ void parse_options(int argc, char **argv, const OptionDef *options,
*/
AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int encoder);
-/*
- * Setup AVCodecContext options for avformat_find_stream_info.
+/**
+ * Setup AVCodecContext options for avformat_find_stream_info().
+ *
+ * Create an array of dictionaries, one dictionary for each stream
+ * contained in s.
+ * Each dictionary will contain the options from codec_opts which can
+ * be applied to the corresponding stream codec context.
+ *
+ * @return pointer to the created array of dictionaries, NULL if it
+ * cannot be created
*/
AVDictionary **setup_find_stream_info_opts(AVFormatContext *s);