# HG changeset patch # User gpoirier # Date 1157921180 0 # Node ID 301d975b69e303e041a6760ea498c3ce49517973 # Parent 7e7d8a3fe080f487534043c39c5a9f6b8516fe54 adds doxygen docs to av_opt_set_defaults. Patch by Takis diff -r 7e7d8a3fe080 -r 301d975b69e3 opt.c --- a/opt.c Sun Sep 10 20:21:40 2006 +0000 +++ b/opt.c Sun Sep 10 20:46:20 2006 +0000 @@ -300,6 +300,12 @@ return 0; } +/** Set the values of the AVCodecContext or AVFormatContext structure. + * They are set to the defaults specified in the according AVOption options + * array default_val field. + * + * @param s AVCodecContext or AVFormatContext for which the defaults will be set + */ void av_opt_set_defaults(void *s) { AVOption *opt = NULL;