diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-23 08:20:12 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-09 08:36:40 +0100 |
commit | 0f24a3ca999a702f83af9307f9f47b6fdeb546a5 (patch) | |
tree | ec0d6be2c0dcfd674d15b11c09fe2fb85dd983bd /libavcodec/avcodec.h | |
parent | f073b1500e3b53835034b7421db0a1cf5bea05a0 (diff) | |
download | ffmpeg-streaming-0f24a3ca999a702f83af9307f9f47b6fdeb546a5.zip ffmpeg-streaming-0f24a3ca999a702f83af9307f9f47b6fdeb546a5.tar.gz |
lavc: remove disabled FF_API_OLD_ENCODE_VIDEO cruft
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0d4ac31..c926d5b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3726,26 +3726,6 @@ AVCodec *avcodec_find_encoder_by_name(const char *name); int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, const AVFrame *frame, int *got_packet_ptr); -#if FF_API_OLD_ENCODE_VIDEO -/** - * @deprecated use avcodec_encode_video2() instead. - * - * Encode a video frame from pict into buf. - * The input picture should be - * stored using a specific format, namely avctx.pix_fmt. - * - * @param avctx the codec context - * @param[out] buf the output buffer for the bitstream of encoded frame - * @param[in] buf_size the size of the output buffer in bytes - * @param[in] pict the input picture to encode - * @return On error a negative value is returned, on success zero or the number - * of bytes used from the output buffer. - */ -attribute_deprecated -int avcodec_encode_video(AVCodecContext *avctx, uint8_t *buf, int buf_size, - const AVFrame *pict); -#endif - /** * Encode a frame of video. * |