vlc | branch: master | Filip Roséen <fi...@atch.se> | Tue Oct 11 20:06:19 2016 
+0200| [d319270870d2487c3a8722ed7fa3ee5d4c101d00] | committer: Thomas Guillem

access/dvdnav: merge declaration and initialization

Signed-off-by: Thomas Guillem <tho...@gllm.fr>

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

 modules/access/dvdnav.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/access/dvdnav.c b/modules/access/dvdnav.c
index dd43c47..c8413eb 100644
--- a/modules/access/dvdnav.c
+++ b/modules/access/dvdnav.c
@@ -1196,13 +1196,12 @@ static void DemuxTitles( demux_t *p_demux )
 
     for( int i = 1; i <= i_titles; i++ )
     {
-        int32_t i_chapters;
         uint64_t i_title_length;
         uint64_t *p_chapters_time;
 
-        i_chapters = dvdnav_describe_title_chapters( p_sys->dvdnav, i,
-                                                     &p_chapters_time,
-                                                     &i_title_length );
+        int32_t i_chapters = dvdnav_describe_title_chapters( p_sys->dvdnav, i,
+                                                            &p_chapters_time,
+                                                            &i_title_length );
         if( i_chapters < 1 )
         {
             i_title_length = 0;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to