diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-28 14:30:32 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-08-28 16:04:27 +0200 |
commit | 8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79 (patch) | |
tree | 28d97cd4f7551412c02b4dcd5eb82d72eea3ed12 /libavcodec/avcodec.h | |
parent | bf7114b6caad8cf94696b0299c13b0d26bf291be (diff) | |
download | ffmpeg-8f12ef9860d0e164e4647fd5d5cebdb3cfb34a79.tar.gz |
lavu: Drop deprecated duplicated AVFrame/AVCodecContext parameters
Deprecated in 10/2012.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e4e656c93a..379311f29b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3346,39 +3346,6 @@ const AVClass *avcodec_get_class(void); */ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src); -#if FF_API_AVFRAME_LAVC -/** - * @deprecated use av_frame_alloc() - */ -attribute_deprecated -AVFrame *avcodec_alloc_frame(void); - -/** - * Set the fields of the given AVFrame to default values. - * - * @param frame The AVFrame of which the fields should be set to default values. - * - * @deprecated use av_frame_unref() - */ -attribute_deprecated -void avcodec_get_frame_defaults(AVFrame *frame); - -/** - * Free the frame and any dynamically allocated objects in it, - * e.g. extended_data. - * - * @param frame frame to be freed. The pointer will be set to NULL. - * - * @warning this function does NOT free the data buffers themselves - * (it does not know how, since they might have been allocated with - * a custom get_buffer()). - * - * @deprecated use av_frame_free() - */ -attribute_deprecated -void avcodec_free_frame(AVFrame **frame); -#endif - /** * Initialize the AVCodecContext to use the given AVCodec. Prior to using this * function the context has to be allocated with avcodec_alloc_context3(). |