Get a default list of allowed ranges for the given option.
This list is constructed without using the AVClass.query_ranges() callback
and can be used as fallback from within the callback.
@param flags is a bitmask of flags, undefined flags should not be set and should be ignored
AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance
AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges
The result must be freed with av_opt_free_ranges.
@return number of compontents returned on success, a negative errro code otherwise
Get a default list of allowed ranges for the given option.
This list is constructed without using the AVClass.query_ranges() callback and can be used as fallback from within the callback.
@param flags is a bitmask of flags, undefined flags should not be set and should be ignored AV_OPT_SEARCH_FAKE_OBJ indicates that the obj is a double pointer to a AVClass instead of a full instance AV_OPT_MULTI_COMPONENT_RANGE indicates that function may return more than one component, @see AVOptionRanges
The result must be freed with av_opt_free_ranges.
@return number of compontents returned on success, a negative errro code otherwise