changeset 1487:93f0db9d1ef9

better fix - now it's backward compatible
author arpi
date Sat, 11 Aug 2001 22:49:18 +0000
parents a70e494144cf
children 70652cb8c402
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Sat Aug 11 22:44:12 2001 +0000
+++ b/mplayer.c	Sat Aug 11 22:49:18 2001 +0000
@@ -614,7 +614,7 @@
   stream=open_stream(filename,vcd_track,&file_format);
   if(!stream) return 1; // error...
   use_stdin=(!strcmp(filename,"-"));
-  if(seek_to_byte<stream->start_pos) seek_to_byte=stream->start_pos; // VCD fix
+  seek_to_byte+=stream->start_pos; // required for VCD
 
 #ifdef HAVE_LIBCSS
   if (dvdimportkey) {