Browse Source

h264: do not copy ref count/ref2frm when updating per-frame context

They are filled in decode_slice_header() anyway.
tags/n1.2
Anton Khirnov 12 years ago
parent
commit
e671d3ad6c
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavcodec/h264.c

+ 0
- 2
libavcodec/h264.c View File

@@ -1563,8 +1563,6 @@ static int decode_update_thread_context(AVCodecContext *dst,
copy_fields(h, h1, poc_lsb, redundant_pic_count); copy_fields(h, h1, poc_lsb, redundant_pic_count);


// reference lists // 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_fields(h, h1, short_ref, cabac_init_idc);


copy_picture_range(h->short_ref, h1->short_ref, 32, h, h1); copy_picture_range(h->short_ref, h1->short_ref, 32, h, h1);


Loading…
Cancel
Save