diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-04-20 17:21:39 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-21 07:22:23 +0200 |
commit | 65af48b55930abe5ac9130be3ff4d9c287a7f010 (patch) | |
tree | b713e980efde65987d71bf9b6433411d400d633f /libavcodec/version.h | |
parent | 095290f9a4230698f64c56b5ee9d89c046f6dd5b (diff) | |
download | ffmpeg-65af48b55930abe5ac9130be3ff4d9c287a7f010.tar.gz |
lavc: provide deprecated avcodec_thread_init until next major version
It was deprecated only recently.
Diffstat (limited to 'libavcodec/version.h')
-rw-r--r-- | libavcodec/version.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |