Set all the options from a given dictionary on an object.
@param obj a struct whose first element is a pointer to AVClass
@param options options to process. This dictionary will be freed and replaced
by a new one containing all options not found in obj.
Of course this new dictionary needs to be freed by caller
with av_dict_free().
@return 0 on success, a negative AVERROR if some option was found in obj,
but could not be set.
Set all the options from a given dictionary on an object.
@param obj a struct whose first element is a pointer to AVClass @param options options to process. This dictionary will be freed and replaced by a new one containing all options not found in obj. Of course this new dictionary needs to be freed by caller with av_dict_free().
@return 0 on success, a negative AVERROR if some option was found in obj, but could not be set.
@see av_dict_copy()