History

libavcodec/bsfs: Fix bsf option setting

AV_OPT_SEARCH_CHILDREN flag must be passed to av_opt_set_dict() to set options for private context.

Jan Sebechlebsky committed 10 years ago

Commit bcd11531 parent ec220a81 file · +1 −1Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/bsf.c+1−1
@@ -432,7 +432,7 @@ int av_bsf_list_append2(AVBSFList *lst, const char *bsf_name, AVDictionary ** op · 431 unmodified lines
432 return ret;432 return ret;
433 433
434 if (options) {434 if (options) {
435 ret = av_opt_set_dict(bsf, options);435 ret = av_opt_set_dict2(bsf, options, AV_OPT_SEARCH_CHILDREN);
436 if (ret < 0)436 if (ret < 0)
437 goto end;437 goto end;
438 }438 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t