summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-10-10 23:54:17 -0300
committerJames Almer <jamrial@gmail.com>2020-10-10 23:58:26 -0300
commitf0cec744a93c83517ec2c7ce257e244111cb4a97 (patch)
tree9bf5caed442220201b152b6f351b70efce8bd93b
parent263a4b13dbb805fb927a842de07029f77a985552 (diff)
avformat/avformat.h: add missing FF_API_NEXT wrappers
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--libavformat/avformat.h4
1 files changed, 4 insertions, 0 deletions
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.