diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-28 11:40:09 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-30 16:44:33 +0200 |
commit | 1aa24df74c052a73175c43e57d35b4835e537ec8 (patch) | |
tree | caf5aa58da7ca79188cf37e45315aa78cdbacfe4 /libavcodec/mpegpicture.h | |
parent | 3f1f6053013d0015e9f115a91a11744807649a07 (diff) |
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 <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/mpegpicture.h')
-rw-r--r-- | libavcodec/mpegpicture.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; /** |