summaryrefslogtreecommitdiff
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-04-06 07:38:11 +0200
committerAnton Khirnov <anton@khirnov.net>2011-04-07 18:11:24 +0200
commit9f5ddd1e460a7e25b838286d36bf3fbe17baaa76 (patch)
tree97acbb419dba16231c7037ec69f0e5228987bb9a /libavcodec/version.h
parent5cec8971056f92215d4199235907d944abdb5a81 (diff)
lavc: add a FF_API_REQUEST_CHANNELS deprecation macro
And hide request_channels AVOption under it.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r--libavcodec/version.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/version.h b/libavcodec/version.h
index b93e7534bb..b60e264d7f 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -83,5 +83,8 @@
#ifndef FF_API_ANTIALIAS_ALGO
#define FF_API_ANTIALIAS_ALGO (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
+#ifndef FF_API_REQUEST_CHANNELS
+#define FF_API_REQUEST_CHANNELS (LIBAVCODEC_VERSION_MAJOR < 53)
+#endif
#endif /* AVCODEC_VERSION_H */