[vlc-commits] [Git][videolan/vlc][master] demux: mp4: remove unused variable

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Sep 9 14:12:41 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
ff3d43b9 by Johannes Kauffmann at 2022-09-09T13:42:03+00:00
demux: mp4: remove unused variable

- - - - -


1 changed file:

- modules/demux/mp4/libmp4.c


Changes:

=====================================
modules/demux/mp4/libmp4.c
=====================================
@@ -4467,7 +4467,6 @@ static int MP4_ReadBox_iref( stream_t *p_stream, MP4_Box_t *p_box )
 
     assert( i_read == 0 );
 
-    uint32_t i = 0;
     uint64_t i_remain = p_box->i_size - 12;
     while ( i_remain > 8 )
     {
@@ -4481,7 +4480,6 @@ static int MP4_ReadBox_iref( stream_t *p_stream, MP4_Box_t *p_box )
 
         MP4_BoxAddChild( p_box, p_childbox );
         i_remain -= p_childbox->i_size;
-        i++;
     }
 
     if ( MP4_Seek( p_stream, p_box->i_pos + p_box->i_size ) )



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ff3d43b92a76531388a9f03173c05803ab117dd9

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ff3d43b92a76531388a9f03173c05803ab117dd9
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list