From d43a165bda0eae95f4c7a168c7d13d94966c1a09 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Tue, 19 Jan 2016 16:09:52 -0500 Subject: imgconvert: Add the proper API guards to a deprecated function --- libavcodec/version.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/version.h') diff --git a/libavcodec/version.h b/libavcodec/version.h index 303c112..75d99bc 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -48,6 +48,9 @@ * the public API and may change, break or disappear at any time. */ +#ifndef FF_API_GETCHROMA +#define FF_API_GETCHROMA (LIBAVCODEC_VERSION_MAJOR < 58) +#endif #ifndef FF_API_MISSING_SAMPLE #define FF_API_MISSING_SAMPLE (LIBAVCODEC_VERSION_MAJOR < 58) #endif -- cgit v1.1