diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2010-09-30 19:51:22 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2010-09-30 19:51:22 +0000 |
commit | 164bc38c2603e8738237d61a183f95e283f3e491 (patch) | |
tree | 065c2149b6f9a2829872a36f272ca08a5a747e70 /libavcodec/utils.c | |
parent | d8e456400e01aa3194c266b389fd62f4e35598d8 (diff) | |
download | ffmpeg-164bc38c2603e8738237d61a183f95e283f3e491.tar.gz |
add FF_API_VIDEO_OLD define to disable the deprecated decode_video API
Originally committed as revision 25272 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 69439b896b..0d27163d6d 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -591,7 +591,7 @@ int avcodec_encode_subtitle(AVCodecContext *avctx, uint8_t *buf, int buf_size, return ret; } -#if LIBAVCODEC_VERSION_MAJOR < 53 +#if FF_API_VIDEO_OLD int attribute_align_arg avcodec_decode_video(AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const uint8_t *buf, int buf_size) |