From 1aa24df74c052a73175c43e57d35b4835e537ec8 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Mon, 28 Sep 2015 11:40:09 +0200 Subject: lavu: Deprecate AVFrame.error[] These field are difficult to interpret, and are provided by a single encoder (mpegvideoenc). In general they do not belong to a structure containing raw data only, so remove them from AVFrame. Mpegvideoenc now uses a private field in Picture for its internal computations. Signed-off-by: Vittorio Giovara --- libavutil/frame.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libavutil/frame.h') diff --git a/libavutil/frame.h b/libavutil/frame.h index d231ff3966..c723cb02c3 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -240,10 +240,13 @@ typedef struct AVFrame { */ void *opaque; +#if FF_API_ERROR_FRAME /** - * error + * @deprecated unused */ + attribute_deprecated uint64_t error[AV_NUM_DATA_POINTERS]; +#endif /** * When decoding, this signals how much the picture must be delayed. -- cgit v1.2.3