[vlc-commits] h264: fix variable shadowing

Rémi Denis-Courmont git at videolan.org
Thu Jun 29 22:35:36 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jun 29 23:10:03 2017 +0300| [998bcb56f22f6f2fd40495dc6fefcec2b65ea912] | committer: Rémi Denis-Courmont

h264: fix variable shadowing

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=998bcb56f22f6f2fd40495dc6fefcec2b65ea912
---

 modules/packetizer/h264_nal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/packetizer/h264_nal.c b/modules/packetizer/h264_nal.c
index 0cf6b2c7d6..09d8ddaed5 100644
--- a/modules/packetizer/h264_nal.c
+++ b/modules/packetizer/h264_nal.c
@@ -494,7 +494,7 @@ static bool h264_parse_sequence_parameter_set_rbsp( bs_t *p_bs,
                     return false;
                 bs_read( p_bs, 4 );
                 bs_read( p_bs, 4 );
-                for( uint32_t i=0; i<count; i++ )
+                for( uint32_t j = 0; j < count; j++ )
                 {
                     if( bs_remain( p_bs ) < 23 )
                         return false;



More information about the vlc-commits mailing list