add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags

Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2007-03-07 02:21:35 +00:00
parent bc2a1c340a
commit 20e708cbbe
2 changed files with 8 additions and 1 deletions

View File

@@ -80,5 +80,6 @@ const char *av_get_string(void *obj, const char *name, const AVOption **o_out, c
const AVOption *av_next_option(void *obj, const AVOption *last);
int av_opt_show(void *obj, void *av_log_obj);
void av_opt_set_defaults(void *s);
void av_opt_set_defaults2(void *s, int mask, int flags);
#endif