Remove unused variable ref_clock, fix the warning:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 6 Feb 2010 00:05:38 +0000 (00:05 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Sat, 6 Feb 2010 00:05:38 +0000 (00:05 +0000)
ffplay.c: In function ‘compute_frame_delay’:
ffplay.c:1064: warning: unused variable ‘ref_clock’

Originally committed as revision 21649 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 724a17b..67c77ba 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1061,7 +1061,7 @@ static void stream_pause(VideoState *is)
 
 static double compute_frame_delay(double frame_current_pts, VideoState *is)
 {
-    double actual_delay, delay, sync_threshold, ref_clock, diff;
+    double actual_delay, delay, sync_threshold, diff;
 
     /* compute nominal delay */
     delay = frame_current_pts - is->frame_last_pts;