Message ID | TYSPR06MB6433D054FDE3E510A6E37B01AA28A@TYSPR06MB6433.apcprd06.prod.outlook.com |
---|---|
State | Accepted |
Commit | 3720fa5fecc69af5fb22b6341d527788274db091 |
Headers | show |
Series | [FFmpeg-devel] cbs_h266: fix typo for ols_mode_idc == 2 | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On 7/2/2023 7:15 AM, Nuo Mi wrote: > --- > libavcodec/cbs_h266_syntax_template.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c > index f1cd45f815..ae44565a54 100644 > --- a/libavcodec/cbs_h266_syntax_template.c > +++ b/libavcodec/cbs_h266_syntax_template.c > @@ -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, Applied.
diff --git a/libavcodec/cbs_h266_syntax_template.c b/libavcodec/cbs_h266_syntax_template.c index f1cd45f815..ae44565a54 100644 --- a/libavcodec/cbs_h266_syntax_template.c +++ b/libavcodec/cbs_h266_syntax_template.c @@ -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,