diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-01 00:12:46 +0400 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-10-01 00:12:46 +0400 |
commit | 448ce9258c145dfe17a4616d15677f412bef7304 (patch) | |
tree | bc1fc9f83758efb906bcc6581125cc03134c5e8d /libavcodec/utils.c | |
parent | 164bc38c2603e8738237d61a183f95e283f3e491 (diff) |
add FF_API_SUBTITLE_OLD define to disable the deprecated decode_subtitle API
Originally committed as revision 25273 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 0d27163d6d..ffd34eee14 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -671,7 +671,7 @@ int attribute_align_arg avcodec_decode_audio3(AVCodecContext *avctx, int16_t *sa return ret; } -#if LIBAVCODEC_VERSION_MAJOR < 53 +#if FF_API_SUBTITLE_OLD int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, const uint8_t *buf, int buf_size) |