summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 16:32:38 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-16 16:32:38 +0000
commit2c8f5fa622f0ff1a9186a26deada9b3e72603e49 (patch)
tree63ed711207d377369e9fc019588b506687d4552f /stream/stream_dvd.c
parent6833ea6ab29a4789cc267d41fb72bd1b0341a77f (diff)
downloadmpv-2c8f5fa622f0ff1a9186a26deada9b3e72603e49.tar.bz2
mpv-2c8f5fa622f0ff1a9186a26deada9b3e72603e49.tar.xz
stream: Mark functions not used outside of their files as static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30599 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 3747bbaac1..1fee28ad6c 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -249,7 +249,8 @@ static int dvd_next_cell(dvd_priv_t *d) {
return next_cell;
}
-int dvd_read_sector(dvd_priv_t *d,unsigned char* data) {
+static int dvd_read_sector(dvd_priv_t *d, unsigned char *data)
+{
int len;
if(d->packs_left==0) {
@@ -369,7 +370,8 @@ read_next:
return d->cur_pack-1;
}
-void dvd_seek(dvd_priv_t *d,int pos) {
+static void dvd_seek(dvd_priv_t *d, int pos)
+{
d->packs_left=-1;
d->cur_pack=pos;
@@ -407,7 +409,8 @@ void dvd_seek(dvd_priv_t *d,int pos) {
d->angle_seek=1;
}
-void dvd_close(dvd_priv_t *d) {
+static void dvd_close(dvd_priv_t *d)
+{
ifoClose(d->vts_file);
ifoClose(d->vmg_file);
DVDCloseFile(d->title);