diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-05 23:51:05 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-01-05 23:51:05 +0000 |
commit | 9516427baa37146f1ce2660bb2a34b1082e12dc7 (patch) | |
tree | 637507071e3edd8bc70c5e357b35b1109630ade5 /libmpdemux/cue_read.c | |
parent | 85fd424c273b81ab1b9ad4e45d10c2650f557eeb (diff) | |
download | mpv-9516427baa37146f1ce2660bb2a34b1082e12dc7.tar.bz2 mpv-9516427baa37146f1ce2660bb2a34b1082e12dc7.tar.xz |
vcd_read_cue.h -> cue_read.c+h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8813 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/cue_read.c')
-rw-r--r-- | libmpdemux/cue_read.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/libmpdemux/cue_read.c b/libmpdemux/cue_read.c index 20422c5ca7..b1aa66f07c 100644 --- a/libmpdemux/cue_read.c +++ b/libmpdemux/cue_read.c @@ -7,8 +7,16 @@ #include <sys/types.h> #include <sys/stat.h> #include <unistd.h> +#include <fcntl.h> #include <libgen.h> +#include "config.h" +#include "mp_msg.h" +//#include "help_mp.h" + +#include "stream.h" + +#include "cue_read.h" #define byte unsigned char #define SIZERAW 2352 @@ -241,7 +249,7 @@ static inline int cue_get_msf() { cue_current_pos.frame); } -static inline void cue_set_msf(unsigned int sect){ +inline void cue_set_msf(unsigned int sect){ cue_current_pos.frame=sect%75; sect=sect/75; cue_current_pos.second=sect%60; @@ -486,7 +494,7 @@ void cue_vcd_read_toc(){ static char vcd_buf[VCD_SECTOR_SIZE]; -static int cue_vcd_read(char *mem){ +int cue_vcd_read(char *mem){ if (cue_read_raw(vcd_buf)==-1) return 0; // EOF? |