Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-12-09 15:00:57 +0400
committerAnton Khirnov <anton@khirnov.net>2013-12-11 23:39:55 +0400
commitd7b3ee9a3a03ab88d61a5895fbdbc6689f4dd671 (patch)
tree01a2faaf61e1439806e6b919e00331ca8a4d6b1a /libavcodec/avcodec.h
parent598ce4ab4f1893e0661fc038101487e511937877 (diff)
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.h5
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.