avcodec/h264_ps: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2024-03-06 21:03:12 +01:00 committed by Paul B Mahol
parent d0edc1f8e2
commit 4afa994405

View File

@ -522,7 +522,7 @@ int ff_h264_decode_seq_parameter_set(GetBitContext *gb, AVCodecContext *avctx,
sps->vui_parameters_present_flag = get_bits1(gb);
if (sps->vui_parameters_present_flag) {
int ret = decode_vui_parameters(gb, avctx, sps);
ret = decode_vui_parameters(gb, avctx, sps);
if (ret < 0)
goto fail;
}