remove negation that wasn't supposed to be there

This commit is contained in:
Joose Sainio 2019-06-12 14:35:24 +03:00
parent 5851dcc3be
commit ac68c8444d

View file

@ -806,7 +806,7 @@ static void encoder_state_encode_leaf(encoder_state_t * const state)
// Very spesific bug that happens when owf length is longer than the
// gop length. Takes care of that.
if(!state->encoder_control->cfg.gop_lowdelay &&
!state->encoder_control->cfg.open_gop &&
state->encoder_control->cfg.open_gop &&
state->encoder_control->cfg.owf > state->encoder_control->cfg.gop_len &&
ref_state->frame->slicetype == KVZ_SLICE_I &&
ref_state->frame->num != 0){