OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf71fb5
)
av_get_string: search children too.
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Aug 2011 22:54:07 +0000
(
00:54
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 12 Aug 2011 23:06:16 +0000
(
01:06
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/opt.c
patch
|
blob
|
history
diff --git
a/libavutil/opt.c
b/libavutil/opt.c
index
97ec071
..
e56cdc6
100644
(file)
--- a/
libavutil/opt.c
+++ b/
libavutil/opt.c
@@
-229,7
+229,7
@@
const AVOption *av_set_int(void *obj, const char *name, int64_t n)
*/
const char *av_get_string(void *obj, const char *name, const AVOption **o_out, char *buf, int buf_len)
{
- const AVOption *o = av_opt_find(obj, name, NULL, 0,
0
);
+ const AVOption *o = av_opt_find(obj, name, NULL, 0,
AV_OPT_SEARCH_CHILDREN
);
void *dst;
uint8_t *bin;
int len, i;