Skip to content
Snippets Groups Projects
Commit c4fd1d34 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

av_get_string: search children too.

parent bf71fb54
No related branches found
No related tags found
No related merge requests found
...@@ -229,7 +229,7 @@ const AVOption *av_set_int(void *obj, const char *name, int64_t n) ...@@ -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 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; void *dst;
uint8_t *bin; uint8_t *bin;
int len, i; int len, i;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment