aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-14 11:41:10 +0100
committerAnton Khirnov <anton@khirnov.net>2013-03-02 10:26:50 +0100
commite671d3ad6cd7fe1d02e9b35b889a25d8c059fce9 (patch)
tree9be7e19923ece8186b5bd4cf781b62ed0a705790
parentc5a738ca4e9789b4678b10240777d931e7dc24c9 (diff)
downloadffmpeg-e671d3ad6cd7fe1d02e9b35b889a25d8c059fce9.tar.gz
h264: do not copy ref count/ref2frm when updating per-frame context
They are filled in decode_slice_header() anyway.
-rw-r--r--libavcodec/h264.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index a20a6f7b55..d816835cbf 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1563,8 +1563,6 @@ static int decode_update_thread_context(AVCodecContext *dst,
copy_fields(h, h1, poc_lsb, redundant_pic_count);
// reference lists
- copy_fields(h, h1, ref_count, list_count);
- copy_fields(h, h1, ref2frm, intra_gb);
copy_fields(h, h1, short_ref, cabac_init_idc);
copy_picture_range(h->short_ref, h1->short_ref, 32, h, h1);