]> git.sesse.net Git - ffmpeg/commitdiff
h264: do not copy ref count/ref2frm when updating per-frame context
authorAnton Khirnov <anton@khirnov.net>
Thu, 14 Feb 2013 10:41:10 +0000 (11:41 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sat, 2 Mar 2013 09:26:50 +0000 (10:26 +0100)
They are filled in decode_slice_header() anyway.

libavcodec/h264.c

index a20a6f7b556817072d4b5ade870bd80c31334c6c..d816835cbf16414fb966f2db54c3e4bb78e10f59 100644 (file)
@@ -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);