summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-28 08:42:35 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-05-28 08:42:35 +0000
commit5edd9af248f1a917d7daf7e106ac0a18660ef60d (patch)
tree8ac2949040dc139c04f4070fd260f69cb2af7e79 /stream
parent1fdbab9197d1e3d77fcc90c18eeeb33d5a7d57ef (diff)
downloadmpv-5edd9af248f1a917d7daf7e106ac0a18660ef60d.tar.bz2
mpv-5edd9af248f1a917d7daf7e106ac0a18660ef60d.tar.xz
Remove some unused variables, patch by timwoj ieee org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23399 b3059339-0415-0410-9bf9-f77b7e298cf2
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