diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-29 17:15:55 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-05-29 17:20:44 +0300 |
commit | 1888e57af7e1ce51517ad9bdc2d201eaf84a98d2 (patch) | |
tree | f1c87c4a44a38ee5d2adc35719beec3c3213c723 /stream/stream_dvd.c | |
parent | ba5f104836b487d70b0ab107fb7a1325566504ad (diff) | |
download | mpv-1888e57af7e1ce51517ad9bdc2d201eaf84a98d2.tar.bz2 mpv-1888e57af7e1ce51517ad9bdc2d201eaf84a98d2.tar.xz |
cosmetics: "struct vf_instance* vf" -> "struct vf_instance *vf"
Change 'struct vf_instance' pointer arguments to more standard style
as in the subject. Also some other minor formatting fixes.
Patch by Diego Biurrun.
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r-- | stream/stream_dvd.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c index a006047871..27c0350d22 100644 --- a/stream/stream_dvd.c +++ b/stream/stream_dvd.c @@ -212,7 +212,8 @@ static int dvd_next_cell(dvd_priv_t *d) { return next_cell; } -static 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) { @@ -332,7 +333,8 @@ read_next: return d->cur_pack-1; } -static 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; @@ -370,7 +372,8 @@ static void dvd_seek(dvd_priv_t *d,int pos) { d->angle_seek=1; } -static 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); |