[Mplayer-cvslog] CVS: main/libmpdemux demuxer.c,1.123,1.124

Arpi of Ize arpi at mplayerhq.hu
Sat Dec 7 02:07:20 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv25714

Modified Files:
	demuxer.c 
Log Message:
10l
patch by Balatoni Denes <pnis at coder.hu>


Index: demuxer.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demuxer.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -r1.123 -r1.124
--- demuxer.c	16 Nov 2002 03:42:14 -0000	1.123
+++ demuxer.c	7 Dec 2002 01:07:11 -0000	1.124
@@ -1276,7 +1276,7 @@
 
 int demuxer_get_percent_pos(demuxer_t *demuxer){     
     int ans;     
-    if (demux_control(demuxer, DEMUXER_CTRL_GET_PERCENT_POS, &ans)<=DEMUXER_CTRL_OK)  {
+    if (demux_control(demuxer, DEMUXER_CTRL_GET_PERCENT_POS, &ans)<=0)  {
         ans=0;     
     }
     if (ans>100 || ans<0) ans=0;




More information about the MPlayer-cvslog mailing list