[MPlayer-cvslog] r37723 - trunk/libmpdemux/demux_ts.c

reimar subversion at mplayerhq.hu
Sun Feb 14 14:29:18 CET 2016


Author: reimar
Date: Sun Feb 14 14:29:17 2016
New Revision: 37723

Log:
demux_ts: remove pointless condition.

Whether the demuxer sets seekable shouldn't
really depend on the stream type anyway so
removing it seems sensible regardless of
the original intent with it.

Modified:
   trunk/libmpdemux/demux_ts.c

Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c	Sun Feb 14 08:17:20 2016	(r37722)
+++ trunk/libmpdemux/demux_ts.c	Sun Feb 14 14:29:17 2016	(r37723)
@@ -1022,10 +1022,7 @@ static demuxer_t *demux_open_ts(demuxer_
 
 
 	demuxer->priv = priv;
-	if(demuxer->stream->type != STREAMTYPE_FILE)
-		demuxer->seekable = 1;
-	else
-		demuxer->seekable = 1;
+	demuxer->seekable = 1;
 
 
 	params.atype = params.vtype = params.stype = UNKNOWN;


More information about the MPlayer-cvslog mailing list