diff --git a/src/encoderstate.c b/src/encoderstate.c index 7f2133d7..4540b9a4 100644 --- a/src/encoderstate.c +++ b/src/encoderstate.c @@ -895,13 +895,11 @@ static void encoder_state_encode_leaf(encoder_state_t * const state) // Add local WPP dependancy to the LCU on the left. if (lcu->left) { - kvz_threadqueue_job_dep_add(job[0], job[-1]); - kvz_threadqueue_job_dep_add(bitstream_job[0], bitstream_job[-1]); + kvz_threadqueue_job_dep_add(job[0], bitstream_job[-1]); } // Add local WPP dependancy to the LCU on the top. if (lcu->above) { - kvz_threadqueue_job_dep_add(job[0], job[-state->tile->frame->width_in_lcu]); - kvz_threadqueue_job_dep_add(bitstream_job[0], bitstream_job[-state->tile->frame->width_in_lcu]); + kvz_threadqueue_job_dep_add(job[0], bitstream_job[-state->tile->frame->width_in_lcu]); } kvz_threadqueue_submit(state->encoder_control->threadqueue, job[0]);