[NUT-devel] [nut]: r170 - trunk/libnut/demuxer.c

ods15 subversion at mplayerhq.hu
Sat Oct 28 22:03:15 CEST 2006


Author: ods15
Date: Sat Oct 28 22:03:14 2006
New Revision: 170

Modified:
   trunk/libnut/demuxer.c

Log:
add useful comment, remove outdated irrelavent line


Modified: trunk/libnut/demuxer.c
==============================================================================
--- trunk/libnut/demuxer.c	(original)
+++ trunk/libnut/demuxer.c	Sat Oct 28 22:03:14 2006
@@ -1035,11 +1035,11 @@
 		off_t back_ptr = stopper->pos - stopper->back_ptr;
 		for (i = 1; i < sl->len; i++) {
 			if (sl->s[i].pos > back_ptr + 15) {
+				// no need to worry about this being exact or not - if we're using stopper, that means we don't have an index
 				if (sl->s[i-1].seen_next) stopper_syncpoint = sl->s[i].pos;
 				break;
 			}
 		}
-		if (back_ptr > (nut->seek_status>>1)) stopper = NULL; // bad stopper, it points to a different back_ptr FIXME so?..
 		if (stopper_syncpoint > bctello(nut->i)) stopper_syncpoint = 0; // don't premature
 	}
 



More information about the NUT-devel mailing list