[FFmpeg-cvslog] avcodec/h264_ps: Fix shadowing

Andreas Rheinhardt git at videolan.org
Sun Mar 10 14:58:56 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Mar  6 21:03:12 2024 +0100| [8fb89790af0ac6de08be7faaa92c41db98358063] | committer: Andreas Rheinhardt

avcodec/h264_ps: Fix shadowing

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8fb89790af0ac6de08be7faaa92c41db98358063
---

 libavcodec/h264_ps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
     }



More information about the ffmpeg-cvslog mailing list