[FFmpeg-cvslog] avformat/avformat.h: add missing FF_API_NEXT wrappers

James Almer git at videolan.org
Sun Oct 11 05:59:52 EEST 2020


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sat Oct 10 23:54:17 2020 -0300| [f0cec744a93c83517ec2c7ce257e244111cb4a97] | committer: James Almer

avformat/avformat.h: add missing FF_API_NEXT wrappers

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0cec744a93c83517ec2c7ce257e244111cb4a97
---

 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.



More information about the ffmpeg-cvslog mailing list