[MPlayer-cvslog] r20857 - trunk/libmpdemux/demuxer.c

nicodvb subversion at mplayerhq.hu
Sat Nov 11 14:57:09 CET 2006


Author: nicodvb
Date: Sat Nov 11 14:57:09 2006
New Revision: 20857

Modified:
   trunk/libmpdemux/demuxer.c

Log:
removed duplicated check in demuxer_seek_chapter

Modified: trunk/libmpdemux/demuxer.c
==============================================================================
--- trunk/libmpdemux/demuxer.c	(original)
+++ trunk/libmpdemux/demuxer.c	Sat Nov 11 14:57:09 2006
@@ -1096,7 +1096,7 @@
     if (!demuxer->num_chapters || !demuxer->chapters) {
         if(!mode) {
             ris = stream_control(demuxer->stream, STREAM_CTRL_GET_CURRENT_CHAPTER, &current);
-            if(ris == STREAM_UNSUPORTED && !mode) return -1;
+            if(ris == STREAM_UNSUPORTED) return -1;
             chapter += current;
         }
 



More information about the MPlayer-cvslog mailing list