Mercurial > libavcodec.hg
comparison opt.c @ 3703:301d975b69e3 libavcodec
adds doxygen docs to av_opt_set_defaults. Patch by Takis
author | gpoirier |
---|---|
date | Sun, 10 Sep 2006 20:46:20 +0000 |
parents | 7e7d8a3fe080 |
children | 73626972ccbb |
comparison
equal
deleted
inserted
replaced
3702:7e7d8a3fe080 | 3703:301d975b69e3 |
---|---|
298 av_log(av_log_obj, AV_LOG_INFO, "\n"); | 298 av_log(av_log_obj, AV_LOG_INFO, "\n"); |
299 } | 299 } |
300 return 0; | 300 return 0; |
301 } | 301 } |
302 | 302 |
303 /** Set the values of the AVCodecContext or AVFormatContext structure. | |
304 * They are set to the defaults specified in the according AVOption options | |
305 * array default_val field. | |
306 * | |
307 * @param s AVCodecContext or AVFormatContext for which the defaults will be set | |
308 */ | |
303 void av_opt_set_defaults(void *s) | 309 void av_opt_set_defaults(void *s) |
304 { | 310 { |
305 AVOption *opt = NULL; | 311 AVOption *opt = NULL; |
306 while ((opt = av_next_option(s, opt)) != NULL) { | 312 while ((opt = av_next_option(s, opt)) != NULL) { |
307 switch(opt->type) { | 313 switch(opt->type) { |