aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-05 21:12:27 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-05 21:15:57 +0200
commit76cac7ed45fbb67edfb8c296798b6b83466d66f7 (patch)
tree928dd7376f0ea192604763c867153d3e3d1b9bea /libavcodec/avcodec.h
parent64c33f9624eeed375e7a73fba46700d7ba18adc8 (diff)
downloadffmpeg-76cac7ed45fbb67edfb8c296798b6b83466d66f7.tar.gz
avcodec: remove deprecated old video encode API
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 35e7e6097d..1f40ea69a9 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -4600,26 +4600,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.
*