changeset 33146:3a1f250bb285

Move variables into block where they are used.
author reimar
date Thu, 07 Apr 2011 22:30:18 +0000
parents 1e637ada9003
children df7f89ce12a7
files mplayer.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Thu Apr 07 21:49:06 2011 +0000
+++ b/mplayer.c	Thu Apr 07 22:30:18 2011 +0000
@@ -3559,8 +3559,6 @@
 if(verbose) term_osd = 0;
 
 {
-int frame_time_remaining=0; // flag
-int blit_frame=0;
 mpctx->num_buffered_frames=0;
 mpctx->framestep_found=0;
 
@@ -3704,6 +3702,8 @@
   update_osd_msg();
 
 } else {
+  int frame_time_remaining = 0;
+  int blit_frame = 1;
 
 /*========================== PLAY VIDEO ============================*/