aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/version.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-10-17 20:08:02 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-20 21:06:58 +0200
commit586657c20a84ea85bfd28b9ab19aace427178922 (patch)
treee77cb229df1eb9ac05e52af91fb2a096e85c387d /libavcodec/version.h
parent0842d58998f441768b5e4376aa0c1d7be0e07a8b (diff)
downloadffmpeg-586657c20a84ea85bfd28b9ab19aace427178922.tar.gz
lavc: deprecate img_get_alpha_info().
It's never been touched or used in any way since it was added in 2003 and only works for PIX_FMT_PAL8, which makes me conclude that nobody's ever used 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 ef30a694ee..a361bbdf8c 100644
--- a/libavcodec/version.h
+++ b/libavcodec/version.h
@@ -98,5 +98,8 @@
#ifndef FF_API_MJPEG_GLOBAL_OPTS
#define FF_API_MJPEG_GLOBAL_OPTS (LIBAVCODEC_VERSION_MAJOR < 54)
#endif
+#ifndef FF_API_GET_ALPHA_INFO
+#define FF_API_GET_ALPHA_INFO (LIBAVCODEC_VERSION_MAJOR < 54)
+#endif
#endif /* AVCODEC_VERSION_H */