diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-02-03 14:50:06 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-04-19 18:39:40 +0200 |
commit | db4d3a7421ec70de0d5ccd8a9f99b46b5c780d23 (patch) | |
tree | 117a36cdc421513c8cc1856c3d5dcf104083db59 /libavcodec/utils.c | |
parent | e89e5afdd04a0f081ecc38b528c1147f204027d7 (diff) | |
download | ffmpeg-db4d3a7421ec70de0d5ccd8a9f99b46b5c780d23.tar.gz |
lavc: remove the FF_API_SUBTITLE_OLD cruft.
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 89bd4a1f55..aa2e55693c 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -692,20 +692,6 @@ int attribute_align_arg avcodec_decode_audio3(AVCodecContext *avctx, int16_t *sa return ret; } -#if FF_API_SUBTITLE_OLD -int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub, - int *got_sub_ptr, - const uint8_t *buf, int buf_size) -{ - AVPacket avpkt; - av_init_packet(&avpkt); - avpkt.data = buf; - avpkt.size = buf_size; - - return avcodec_decode_subtitle2(avctx, sub, got_sub_ptr, &avpkt); -} -#endif - int avcodec_decode_subtitle2(AVCodecContext *avctx, AVSubtitle *sub, int *got_sub_ptr, AVPacket *avpkt) |