[vlc-commits] nuv: remove hopeless seek on error

Rémi Denis-Courmont git at videolan.org
Sun Mar 3 10:25:08 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar  3 10:24:20 2019 +0200| [c45d9e6b1d2bb76b9b03cb75f5eabb91579c8674] | committer: Rémi Denis-Courmont

nuv: remove hopeless seek on error

This code is redundant as of 11874bc592eb32f8f89075fe59294dc2d0115058.
This removes a warning.

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

 modules/demux/nuv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/demux/nuv.c b/modules/demux/nuv.c
index 4a43304c69..7ef9c21340 100644
--- a/modules/demux/nuv.c
+++ b/modules/demux/nuv.c
@@ -770,7 +770,6 @@ static int SeekTableLoad( demux_t *p_demux, demux_sys_t *p_sys )
     if( fh.i_type != 'Q' )
     {
         msg_Warn( p_demux, "invalid seektable, frame type=%c", fh.i_type );
-        vlc_stream_Seek( p_demux->s, i_original_pos );
         return VLC_EGENERIC;
     }
 



More information about the vlc-commits mailing list