git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abade14
)
adds doxygen docs to av_opt_set_defaults. Patch by Takis
author
Panagiotis Issaris
<takis.issaris@uhasselt.be>
Sun, 10 Sep 2006 20:46:20 +0000
(20:46 +0000)
committer
Guillaume Poirier
<gpoirier@mplayerhq.hu>
Sun, 10 Sep 2006 20:46:20 +0000
(20:46 +0000)
Originally committed as revision 6226 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/opt.c
patch
|
blob
|
history
diff --git
a/libavcodec/opt.c
b/libavcodec/opt.c
index
84ea191
..
a17e7ba
100644
(file)
--- 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;