From f0cec744a93c83517ec2c7ce257e244111cb4a97 Mon Sep 17 00:00:00 2001 From: James Almer Date: Sat, 10 Oct 2020 23:54:17 -0300 Subject: [PATCH] avformat/avformat.h: add missing FF_API_NEXT wrappers Signed-off-by: James Almer --- libavformat/avformat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index c8c0b6c08d..acfe25239d 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -534,7 +534,9 @@ typedef struct AVOutputFormat { #else #define ff_const59 const #endif +#if FF_API_NEXT ff_const59 struct AVOutputFormat *next; +#endif /** * size of private data so that it can be allocated in the wrapper */ @@ -679,7 +681,9 @@ typedef struct AVInputFormat { * New public fields should be added right above. ***************************************************************** */ +#if FF_API_NEXT ff_const59 struct AVInputFormat *next; +#endif /** * Raw demuxers store their codec ID here.