lavfi: fix FF_API_* definition macros

Fix ABI break occurred after their use.

Bug reported and patch provided by chinsou, fix trac issue #516,
+80cola for me.
This commit is contained in:
Stefano Sabatini 2011-09-28 15:41:28 +02:00
parent b592f9bb65
commit f63ec3eee9
1 changed files with 2 additions and 2 deletions

View File

@ -41,10 +41,10 @@
#define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT #define LIBAVFILTER_BUILD LIBAVFILTER_VERSION_INT
#ifndef FF_API_OLD_VSINK_API #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 #endif
#ifndef FF_API_OLD_ALL_FORMATS_API #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 #endif
#include <stddef.h> #include <stddef.h>