diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-12-09 12:00:57 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-12-11 20:39:55 +0100 |
commit | d7b3ee9a3a03ab88d61a5895fbdbc6689f4dd671 (patch) | |
tree | 01a2faaf61e1439806e6b919e00331ca8a4d6b1a /libavcodec/avcodec.h | |
parent | 598ce4ab4f1893e0661fc038101487e511937877 (diff) | |
download | ffmpeg-d7b3ee9a3a03ab88d61a5895fbdbc6689f4dd671.tar.gz |
lavc: deprecate avcodec_get_frame_defaults().
Also bump libavcodec micro and add an APIchanges entry saying that
av_frame_* should now be used instead of the lavc AVFrame functions.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7836ae2f97..0e6ac0524e 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3103,16 +3103,17 @@ int avcodec_copy_context(AVCodecContext *dest, const AVCodecContext *src); */ attribute_deprecated AVFrame *avcodec_alloc_frame(void); -#endif /** * 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); -#if FF_API_AVFRAME_LAVC /** * Free the frame and any dynamically allocated objects in it, * e.g. extended_data. |