mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 17:55:21 +00:00
av_get_string: search children too.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
bf71fb54b5
commit
c4fd1d34ca
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user