summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-06 21:03:12 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-10 13:51:37 +0100
commit8fb89790af0ac6de08be7faaa92c41db98358063 (patch)
tree4ed1c62247cd8a177ecb5d178d73430e0d4122d1
parent878f8cabe8d2be6f94875da3857a5271bb56c928 (diff)
avcodec/h264_ps: Fix shadowing
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/h264_ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_ps.c b/libavcodec/h264_ps.c
index dcc51b96db..3c8fc33c7f 100644
--- a/libavcodec/h264_ps.c
+++ b/libavcodec/h264_ps.c
@@ -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;
}