lavfi: fix FF_API_* definition macros
authorStefano Sabatini <stefasab@gmail.com>
Wed, 28 Sep 2011 13:41:28 +0000 (15:41 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 28 Sep 2011 15:24:52 +0000 (17:24 +0200)
Fix ABI break occurred after their use.

Bug reported and patch provided by chinsou, fix trac issue #516,
+80cola for me.

libavfilter/avfilter.h

index 96c8e3b..19c26b5 100644 (file)
 #define LIBAVFILTER_BUILD       LIBAVFILTER_VERSION_INT
 
 #ifndef FF_API_OLD_VSINK_API
-#define FF_API_OLD_VSINK_API        (LIBAVUTIL_VERSION_MAJOR < 3)
+#define FF_API_OLD_VSINK_API        (LIBAVFILTER_VERSION_MAJOR < 3)
 #endif
 #ifndef FF_API_OLD_ALL_FORMATS_API
-#define FF_API_OLD_ALL_FORMATS_API (LIBAVUTIL_VERSION_MAJOR < 3)
+#define FF_API_OLD_ALL_FORMATS_API (LIBAVFILTER_VERSION_MAJOR < 3)
 #endif
 
 #include <stddef.h>