summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_dvd.c2
-rw-r--r--stream/vcd_read_darwin.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 16b66097fa..a07f6b82dd 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -652,7 +652,7 @@ static double dvd_get_current_time(stream_t *stream, int cell)
static int dvd_seek_to_time(stream_t *stream, ifo_handle_t *vts_file, double sec)
{
unsigned int i, j, k, timeunit, ac_time, tmap_sector=0, cell_sector=0, vobu_sector=0;
- int t=0, t2=0;
+ int t=0;
double tm, duration;
off_t pos = -1;
dvd_priv_t *d = stream->priv;
diff --git a/stream/vcd_read_darwin.h b/stream/vcd_read_darwin.h
index 95b540bf48..81853d08c2 100644
--- a/stream/vcd_read_darwin.h
+++ b/stream/vcd_read_darwin.h
@@ -45,7 +45,6 @@ return 0;
int vcd_seek_to_track(mp_vcd_priv_t* vcd, int track)
{
- dk_cd_read_track_info_t tocentry;
struct CDTrackInfo entry;
memset( &vcd->entry, 0, sizeof(vcd->entry));
@@ -69,7 +68,6 @@ int vcd_get_track_end(mp_vcd_priv_t* vcd, int track)
dk_cd_read_disc_info_t tochdr;
struct CDDiscInfo hdr;
- dk_cd_read_track_info_t tocentry;
struct CDTrackInfo entry;
//read toc header