diff --git a/libavutil/opt.c b/libavutil/opt.c index 97ec07159d..e56cdc65e7 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;