]> git.sesse.net Git - vlc/commitdiff
Nuv: don't reject files with no or broken seektable
authorJean-Baptiste Kempf <jb@videolan.org>
Sun, 28 Mar 2010 19:56:13 +0000 (21:56 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Sun, 28 Mar 2010 19:56:13 +0000 (21:56 +0200)
Just deactivate proper seeking

modules/demux/nuv.c

index 7328f7e4e390a0915de9ad5373b7010fb373b16c..3fbcfa5cf381fb3439414f83233587a613895ad3 100644 (file)
@@ -283,8 +283,10 @@ static int Open( vlc_object_t * p_this )
         if( !p_sys->b_seekable )
             msg_Warn( p_demux, "stream is not seekable, skipping seektable" );
         else if( SeekTableLoad( p_demux, p_sys ) )
-            goto error;
-
+        {
+            p_sys->b_index = false;
+            msg_Warn( p_demux, "Seektable is broken, seek won't be accurate" );
+        }
     }
     else
     {