mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/cbs_h266_syntax_template: Avoid shadowing
Reviewed-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
c732fdfa05
commit
e7f152a8c2
|
@ -514,9 +514,9 @@ static int FUNC(ref_pic_lists) (CodedBitstreamContext *ctx, RWContext *rw,
|
|||
ref_list = ¤t->rpl_ref_list[i];
|
||||
|
||||
num_ltrp_entries = 0;
|
||||
for (int i = 0; i < ref_list->num_ref_entries; i++) {
|
||||
if (!ref_list->inter_layer_ref_pic_flag[i]) {
|
||||
if (!ref_list->st_ref_pic_flag[i]) {
|
||||
for (int k = 0; k < ref_list->num_ref_entries; k++) {
|
||||
if (!ref_list->inter_layer_ref_pic_flag[k]) {
|
||||
if (!ref_list->st_ref_pic_flag[k]) {
|
||||
num_ltrp_entries++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue