summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 12:39:49 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-14 12:39:49 +0000
commit31482783c56bdba58f23e5ff4daf0c920158f383 (patch)
tree90318cbc3919fd301e31a57e8188d1cacf4d5850 /mplayer.c
parenta703241aa9774c0a4024ab8fd7384088f8874f91 (diff)
downloadmpv-31482783c56bdba58f23e5ff4daf0c920158f383.tar.bz2
mpv-31482783c56bdba58f23e5ff4daf0c920158f383.tar.xz
Remove write-only variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20919 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mplayer.c b/mplayer.c
index 4577cda4ae..8daf53db1b 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -4215,9 +4215,6 @@ double last_pts = MP_NOPTS_VALUE;
int grab_frames=0;
int drop_frame=0; // current dropping status
int dropped_frames=0; // how many frames dropped since last non-dropped frame
-// for auto-quality:
-double vdecode_time;
-/*float time_frame_corr_avg=0;*/ /* unused */
float next_frame_time=0;
int frame_time_remaining=0; // flag
@@ -4343,7 +4340,6 @@ if(!sh_video) {
if(!frame_time_remaining){
//-------------------- Decode a frame: -----------------------
blit_frame = 0; // Don't blit if we hit EOF
- vdecode_time=video_time_usage;
if (!correct_pts) while(1)
{ unsigned char* start=NULL;
int in_size;
@@ -4408,7 +4404,6 @@ if(!sh_video) {
break;
}
- vdecode_time=video_time_usage-vdecode_time;
//------------------------ frame decoded. --------------------
mp_dbg(MSGT_AVSYNC,MSGL_DBG2,"*** ftime=%5.3f ***\n",frame_time);