mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
cbs_h266: fix typo for ols_mode_idc == 2
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
8489e317bf
commit
3720fa5fec
@ -712,7 +712,7 @@ static int FUNC(vps) (CodedBitstreamContext *ctx, RWContext *rw,
|
||||
}
|
||||
if (ols_mode_idc == 4 || ols_mode_idc == 0 || ols_mode_idc == 1)
|
||||
total_num_olss = current->vps_max_layers_minus1 + 1;
|
||||
else if (ols_mode_idc = 2)
|
||||
else if (ols_mode_idc == 2)
|
||||
total_num_olss = current->vps_num_output_layer_sets_minus2 + 2;
|
||||
else
|
||||
av_log(ctx->log_ctx, AV_LOG_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user