]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/codec.h: add missing FF_API_NEXT wrapper
authorJames Almer <jamrial@gmail.com>
Sun, 11 Oct 2020 02:54:03 +0000 (23:54 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 11 Oct 2020 02:58:11 +0000 (23:58 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/codec.h

index 713774a63298cd01d129343121b0daf65a55aea4..dc8e12b3f03c06f153cdfec4b3399b3c70938a2a 100644 (file)
@@ -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
      * @{