summaryrefslogtreecommitdiff
path: root/libavresample/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavresample/version.h')
-rw-r--r--libavresample/version.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavresample/version.h b/libavresample/version.h
index 53ba802d85..834c942d93 100644
--- a/libavresample/version.h
+++ b/libavresample/version.h
@@ -39,4 +39,8 @@
* the public API and may change, break or disappear at any time.
*/
+#ifndef FF_API_RESAMPLE_CLOSE_OPEN
+#define FF_API_RESAMPLE_CLOSE_OPEN (LIBAVRESAMPLE_VERSION_MAJOR < 2)
+#endif
+
#endif /* AVRESAMPLE_VERSION_H */