[vlc-devel] commit: Do not leave the index building progress bar opened when exit is requested . (Laurent Aimar )

git version control git at videolan.org
Mon Aug 18 19:39:23 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Aug 18 13:15:17 2008 +0200| [2b0390c14d4df61f8c44474697807d32bd77913b] | committer: Laurent Aimar 

Do not leave the index building progress bar opened when exit is requested.

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

 modules/demux/avi/avi.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index 42eb4cc..8c8dfe5 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -2395,9 +2395,7 @@ static void AVI_IndexCreate( demux_t *p_demux )
         avi_packet_t pk;
 
         if( !vlc_object_alive (p_demux) )
-        {
-            return;
-        }
+            break;
 
         /* Don't update dialog too often */
         if( p_demux->p_sys->i_dialog_id > 0 &&




More information about the vlc-devel mailing list