diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-19 22:37:56 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-19 22:37:56 +0000 |
commit | 64e74b68a40a8d0656989cffd12b59ba688965cb (patch) | |
tree | 573ca0c7c5378ba824c2213da678a7fc02d096bf /libavcodec/opt.h | |
parent | 5c548937e0f54bf72fefbf3696f71f8b6bb6ffd0 (diff) | |
download | ffmpeg-64e74b68a40a8d0656989cffd12b59ba688965cb.tar.gz |
Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.
Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/opt.h')
-rw-r--r-- | libavcodec/opt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/opt.h b/libavcodec/opt.h index c3e716ba96..c96893055b 100644 --- a/libavcodec/opt.h +++ b/libavcodec/opt.h @@ -99,6 +99,7 @@ typedef struct AVOption { */ const AVOption *av_find_opt(void *obj, const char *name, const char *unit, int mask, int flags); +#if LIBAVCODEC_VERSION_MAJOR < 53 /** * @see av_set_string2() */ @@ -111,6 +112,7 @@ attribute_deprecated const AVOption *av_set_string(void *obj, const char *name, * @see av_set_string3() */ attribute_deprecated const AVOption *av_set_string2(void *obj, const char *name, const char *val, int alloc); +#endif /** * Sets the field of obj with the given name to value. |