Commit e1d22db4 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Don't reset sign_bias fields in vp10_setup_past_independence().

The fields are always coded in the frame itself, so there is never any
dependency on past frames. In practice, this fixes sign_bias being
ignored when error_resilient_mode=1.

See issue 1011.

Change-Id: I9d134ef6b445ced4d100fa735ce579855a0fa5af
parent 536a9097
...@@ -463,7 +463,5 @@ void vp10_setup_past_independence(VP10_COMMON *cm) { ...@@ -463,7 +463,5 @@ void vp10_setup_past_independence(VP10_COMMON *cm) {
memset(cm->prev_mip, 0, memset(cm->prev_mip, 0,
cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->prev_mip)); cm->mi_stride * (cm->mi_rows + 1) * sizeof(*cm->prev_mip));
vp10_zero(cm->ref_frame_sign_bias);
cm->frame_context_idx = 0; cm->frame_context_idx = 0;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment