• Anton Khirnov's avatar
    lavu/opt: use AV_DICT_MULTIKEY in av_opt_set_dict2() · 5c36f4ef
    Anton Khirnov authored
    If the dictionary provided on input contains multiple entries for an
    option (relevant for flags modifying the previous value with '+' or
    '-') and the option is not found in the target object, only the last
    entry would be returned to the caller.
    
    Pass AV_DICT_MULTIKEY to av_dict_set() to make sure all such entries are
    returned.
    5c36f4ef
opt.c 71.4 KB