aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-02-03 14:50:06 +0100
committerAnton Khirnov <anton@khirnov.net>2011-04-19 18:39:40 +0200
commitdb4d3a7421ec70de0d5ccd8a9f99b46b5c780d23 (patch)
tree117a36cdc421513c8cc1856c3d5dcf104083db59 /libavcodec/avcodec.h
parente89e5afdd04a0f081ecc38b528c1147f204027d7 (diff)
downloadffmpeg-db4d3a7421ec70de0d5ccd8a9f99b46b5c780d23.tar.gz
lavc: remove the FF_API_SUBTITLE_OLD cruft.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 78dd20822a..c47b0065e7 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -3785,15 +3785,6 @@ int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
int *got_picture_ptr,
AVPacket *avpkt);
-#if FF_API_SUBTITLE_OLD
-/* Decode a subtitle message. Return -1 if error, otherwise return the
- * number of bytes used. If no subtitle could be decompressed,
- * got_sub_ptr is zero. Otherwise, the subtitle is stored in *sub. */
-attribute_deprecated int avcodec_decode_subtitle(AVCodecContext *avctx, AVSubtitle *sub,
- int *got_sub_ptr,
- const uint8_t *buf, int buf_size);
-#endif
-
/**
* Decode a subtitle message.
* Return a negative value on error, otherwise return the number of bytes used.