cbs_h265: Fix use of an uninitialized variable
This fixes test failures in fate-cbs-hevc-* in certain configurations
since c53f9f4364
.
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
@@ -552,7 +552,7 @@ static int FUNC(st_ref_pic_set)(CodedBitstreamContext *ctx, RWContext *rw,
|
|||||||
flags(use_delta_flag[j], 1, j);
|
flags(use_delta_flag[j], 1, j);
|
||||||
else
|
else
|
||||||
infer(use_delta_flag[j], 1);
|
infer(use_delta_flag[j], 1);
|
||||||
if (current->use_delta_flag[i])
|
if (current->use_delta_flag[j])
|
||||||
++num_ref_pics;
|
++num_ref_pics;
|
||||||
}
|
}
|
||||||
if (num_ref_pics >= HEVC_MAX_DPB_SIZE) {
|
if (num_ref_pics >= HEVC_MAX_DPB_SIZE) {
|
||||||
|
Reference in New Issue
Block a user