[FFmpeg-cvslog] av_get_string: search children too.
Michael Niedermayer
git at videolan.org
Sat Aug 13 01:15:56 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Aug 13 00:54:07 2011 +0200| [c4fd1d34ca81a53e6bdecd0a7a7110d1c4891a3b] | committer: Michael Niedermayer
av_get_string: search children too.
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4fd1d34ca81a53e6bdecd0a7a7110d1c4891a3b
---
libavutil/opt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavutil/opt.c b/libavutil/opt.c
index 97ec071..e56cdc6 100644
--- 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;
More information about the ffmpeg-cvslog
mailing list