From 65af48b55930abe5ac9130be3ff4d9c287a7f010 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 20 Apr 2011 17:21:39 +0200 Subject: lavc: provide deprecated avcodec_thread_init until next major version It was deprecated only recently. --- 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 92f9e58ffa..b9c219d260 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -65,5 +65,8 @@ #ifndef FF_API_OPT_H #define FF_API_OPT_H (LIBAVCODEC_VERSION_MAJOR < 54) #endif +#ifndef FF_API_THREAD_INIT +#define FF_API_THREAD_INIT (LIBAVCODEC_VERSION_MAJOR < 54) +#endif #endif /* AVCODEC_VERSION_H */ -- cgit v1.2.3