[vlc-commits] demux: avi: don't ask for fix on non fastseekable

Francois Cartegnie git at videolan.org
Thu Apr 24 15:52:31 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 24 15:47:24 2014 +0200| [4a67f8ce53e4564aaf9983fa41e04c4d1248417d] | committer: Francois Cartegnie

demux: avi: don't ask for fix on non fastseekable

A better way would probably keep not asking and
seek and load index when 'slow' seekable.

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

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

diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index e62c4e9..8c23d1e 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -709,7 +709,7 @@ aviindex:
                            "approximative or will exhibit strange behavior" );
         if( (i_do_index == 0 || i_do_index == 3) && !b_index )
         {
-            if( !p_sys->b_seekable ) {
+            if( !p_sys->b_fastseekable ) {
                 b_index = true;
                 goto aviindex;
             }



More information about the vlc-commits mailing list