diff options
Diffstat (limited to 'graphics/mplayer-share/patches/patch-ab')
-rw-r--r-- | graphics/mplayer-share/patches/patch-ab | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/graphics/mplayer-share/patches/patch-ab b/graphics/mplayer-share/patches/patch-ab deleted file mode 100644 index 5ace9f38f41..00000000000 --- a/graphics/mplayer-share/patches/patch-ab +++ /dev/null @@ -1,33 +0,0 @@ -$NetBSD: patch-ab,v 1.5 2002/10/01 12:51:48 dillo Exp $ - ---- libmpdemux/vcd_read_nbsd.h.orig Tue Oct 1 13:24:26 2002 -+++ libmpdemux/vcd_read_nbsd.h -@@ -21,6 +21,20 @@ vcd_set_msf(unsigned int sect) - vcd_entry_data.addr.msf.minute = sect; - } - -+static inline void -+vcd_inc_msf(void) -+{ -+ vcd_entry_data.addr.msf.frame++; -+ if (vcd_entry_data.addr.msf.frame==75){ -+ vcd_entry_data.addr.msf.frame=0; -+ vcd_entry_data.addr.msf.second++; -+ if (vcd_entry_data.addr.msf.second==60){ -+ vcd_entry_data.addr.msf.second=0; -+ vcd_entry_data.addr.msf.minute++; -+ } -+ } -+} -+ - static inline unsigned int - vcd_get_msf() - { -@@ -145,6 +159,7 @@ vcd_read(int fd, char *mem) - sc.error); - return -1; - } -+ vcd_inc_msf(); - return VCD_SECTOR_DATA; - } - |