Skip to content

Commit

Permalink
cmdutils: clarify documentation for filter_codec_opts()
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Khirnov <anton@khirnov.net>
  • Loading branch information
Stefano Sabatini authored and elenril committed Jul 28, 2011
1 parent 7cea06d commit ce23ca8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmdutils.h
Expand Up @@ -150,6 +150,12 @@ void parse_options(int argc, char **argv, const OptionDef *options,

/**
* Filter out options for given codec.
*
* Create a new options dictionary containing only the options from
* opts which apply to the codec with ID codec_id.
*
* @param encoder if non-zero the codec is an encoder, otherwise is a decoder
* @return a pointer to the created dictionary
*/
AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int encoder);

Expand Down

0 comments on commit ce23ca8

Please sign in to comment.