diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-11 16:40:27 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-11 17:30:02 +0100 |
commit | 855463c007719d8a9cddfa757a00ae5428b3dbde (patch) | |
tree | b3fbc18aac19157e29c155dca03919348cbf97be /libavcodec/h264.h | |
parent | cba199b5952feca4df39560d5c42cb7992e5d875 (diff) | |
download | ffmpeg-855463c007719d8a9cddfa757a00ae5428b3dbde.tar.gz |
avcodec/h264: Keep a reference to the last picture for EC
This and the next commit improve error concealment for
green-block-artifacts-from-canon-100-hs.MOV
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 74c1bbf79f..2d8e1375a2 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -352,6 +352,7 @@ typedef struct H264Context { H264Picture *DPB; H264Picture *cur_pic_ptr; H264Picture cur_pic; + H264Picture last_pic_for_ec; int pixel_shift; ///< 0 for 8-bit H264, 1 for high-bit-depth H264 int chroma_qp[2]; // QPc |