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

index 99297ae798aa325ac37836a3a90d9a3f8e1e7a95..100183f56c6054d76b9ee0a9f4afb9358c853f84 100644 (file)
@@ -286,11 +286,13 @@ typedef struct AVFilter {
 
     int flags_internal; ///< Additional flags for avfilter internal use only.
 
+#if FF_API_NEXT
     /**
      * Used by the filter registration system. Must not be touched by any other
      * code.
      */
     struct AVFilter *next;
+#endif
 
     /**
      * Make the filter instance process a command.