[MPlayer-cvslog] CVS: main/libmpdemux stream_vcd.c,1.8,1.9
Nico Sabbi CVS
syncmail at mplayerhq.hu
Sun Jul 3 17:20:16 CEST 2005
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv29716
Modified Files:
stream_vcd.c
Log Message:
don't past end of selected track
Index: stream_vcd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream_vcd.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- stream_vcd.c 25 May 2005 08:48:32 -0000 1.8
+++ stream_vcd.c 3 Jul 2005 15:20:14 -0000 1.9
@@ -53,6 +53,8 @@
};
static int fill_buffer(stream_t *s, char* buffer, int max_len){
+ if(s->pos > s->end_pos) /// don't past end of current track
+ return 0;
return vcd_read(s->priv,buffer);
}
More information about the MPlayer-cvslog
mailing list