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 | * pointer to each of the pointers to itself. | 260 | * pointer to each of the pointers to itself. |
| 261 | */ | 261 | */ |
| 262 | typedef struct AVFilterFormats { | 262 | typedef struct AVFilterFormats { |
| 263 | int64_t *formats; ///< list of media formats | ||
| 264 | unsigned format_count; ///< number of formats | 263 | unsigned format_count; ///< number of formats |
| 264 | int *formats; ///< list of media formats | ||
| 265 | 265 | ||
| 266 | unsigned refcount; ///< number of references to this list | 266 | unsigned refcount; ///< number of references to this list |
| 267 | struct AVFilterFormats ***refs; ///< references to this list | 267 | struct AVFilterFormats ***refs; ///< references to this list |