diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-09-30 20:34:35 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-09-30 20:34:35 +0000 |
commit | 838dc131f1d6f1892878de372c7e2ea75fc205d3 (patch) | |
tree | c1044aae5121e56f7c8263bad2ec69be599e2521 /libavcodec/avcodec.h | |
parent | 0743de4ffd063d17df7a66aa579746c4f427ae1a (diff) | |
download | ffmpeg-838dc131f1d6f1892878de372c7e2ea75fc205d3.tar.gz |
add FF_API_SET_STRING_OLD define to disable the deprecated av_set_string API
Originally committed as revision 25276 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f4b2569d11..781cd298bf 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -69,6 +69,9 @@ #ifndef FF_API_USE_LPC #define FF_API_USE_LPC (LIBAVCODEC_VERSION_MAJOR < 53) #endif +#ifndef FF_API_SET_STRING_OLD +#define FF_API_SET_STRING_OLD (LIBAVCODEC_VERSION_MAJOR < 53) +#endif #define AV_NOPTS_VALUE INT64_C(0x8000000000000000) #define AV_TIME_BASE 1000000 |