The list goes back to being simple integers, and avfilter_make_format64_list is fixed to work with the correct structure directly.
Showing the changes to libavfilter/avfilter.h (1 of 2 files). Show all
Unified · Split
| @@ -260,8 +260,8 @@ void avfilter_unref_bufferp(AVFilterBufferRef **ref); · 259 unmodified lines | ||
| 260 | 260 | * pointer to each of the pointers to itself. |
| 261 | 261 | */ |
| 262 | 262 | typedef struct AVFilterFormats { |
| 263 | − int64_t *formats; ///< list of media formats | |
| 264 | 263 | unsigned format_count; ///< number of formats |
| 264 | + int *formats; ///< list of media formats | |
| 265 | 265 | |
| 266 | 266 | unsigned refcount; ///< number of references to this list |
| 267 | 267 | struct AVFilterFormats ***refs; ///< references to this list |