cmdutils: clarify documentation for setup_find_stream_info_opts()
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 16 Jul 2011 23:30:43 +0000 (01:30 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 28 Jul 2011 15:13:14 +0000 (17:13 +0200)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
cmdutils.h

index a47f157..90e0a25 100644 (file)
@@ -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);