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 --- libavcodec/mpegpicture.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/mpegpicture.h') diff --git a/libavcodec/mpegpicture.h b/libavcodec/mpegpicture.h index 0588f02ee5..115c2883d3 100644 --- a/libavcodec/mpegpicture.h +++ b/libavcodec/mpegpicture.h @@ -83,6 +83,8 @@ typedef struct Picture { int reference; int shared; + + uint64_t encoding_error[4]; } Picture; /** -- cgit v1.2.3