diff libmpdemux/cue_read.c @ 8812:f6456b177fdc

vcd_read_cue.h -> cue_read.c+h
author arpi
date Sun, 05 Jan 2003 23:51:05 +0000
parents 6af7a6595cc9
children bba27bc43b0d
line wrap: on
line diff
--- a/libmpdemux/cue_read.c	Sun Jan 05 21:42:27 2003 +0000
+++ b/libmpdemux/cue_read.c	Sun Jan 05 23:51:05 2003 +0000
@@ -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 @@
                            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 @@
 
 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?