aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2006-09-10 20:46:20 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2006-09-10 20:46:20 +0000
commit493f7857dedbe3f8db33cf2c4ed6b9e257e9e42e (patch)
tree6d0e8e4a182e6724ba6ea39e73d2a4d6ab52c168
parentabade1429e66bb3ab820c75dab54ca73525c461e (diff)
downloadffmpeg-493f7857dedbe3f8db33cf2c4ed6b9e257e9e42e.tar.gz
adds doxygen docs to av_opt_set_defaults. Patch by Takis
Originally committed as revision 6226 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/opt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/opt.c b/libavcodec/opt.c
index 84ea19117d..a17e7ba757 100644
--- a/libavcodec/opt.c
+++ b/libavcodec/opt.c
@@ -300,6 +300,12 @@ int av_opt_show(void *obj, void *av_log_obj){
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;