[FFmpeg-cvslog] avcodec/codec.h: add missing FF_API_NEXT wrapper

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


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

avcodec/codec.h: add missing FF_API_NEXT wrapper

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

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

 libavcodec/codec.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/codec.h b/libavcodec/codec.h
index 713774a632..dc8e12b3f0 100644
--- a/libavcodec/codec.h
+++ b/libavcodec/codec.h
@@ -236,7 +236,9 @@ typedef struct AVCodec {
      *****************************************************************
      */
     int priv_data_size;
+#if FF_API_NEXT
     struct AVCodec *next;
+#endif
     /**
      * @name Frame-level threading support functions
      * @{



More information about the ffmpeg-cvslog mailing list