aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2011-09-28 15:41:28 +0200
committerStefano Sabatini <stefasab@gmail.com>2011-09-28 17:24:52 +0200
commitf63ec3eee969491de057a9046e45529649a05fa8 (patch)
treea7b3c6912d8eccfeede3c0c059f796602f805906 /libavfilter
parentb592f9bb650be390d6e0de6fa002a82db3b0e69a (diff)
downloadffmpeg-f63ec3eee969491de057a9046e45529649a05fa8.tar.gz
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.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avfilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 96c8e3b184..19c26b5245 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -41,10 +41,10 @@
#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>