mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-27 19:24:06 +00:00
[alf] fix alf_info passing to sub_states
This commit is contained in:
parent
dc6862051e
commit
070dcc1924
|
@ -1135,8 +1135,8 @@ static void encoder_state_encode(encoder_state_t * const main_state) {
|
|||
|
||||
if (sub_state->encoder_control->cfg.alf_type) {
|
||||
main_state->slice->alf = sub_state->slice->alf = main_state->parent->slice->alf;
|
||||
main_state->tile->frame->alf_param_set_map = sub_state->tile->frame->alf_param_set_map = main_state->parent->tile->frame->alf_param_set_map;
|
||||
main_state->tile->frame->alf_info = sub_state->tile->frame->alf_info = main_state->parent->tile->frame->alf_info;
|
||||
sub_state->tile->frame->alf_param_set_map = main_state->tile->frame->alf_param_set_map;
|
||||
sub_state->tile->frame->alf_info = main_state->tile->frame->alf_info;
|
||||
}
|
||||
kvz_image_free(sub_state->tile->frame->source);
|
||||
sub_state->tile->frame->source = NULL;
|
||||
|
|
Loading…
Reference in a new issue