Remove unused variable ref_clock, fix the warning:

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
release/0.6
Stefano Sabatini 15 years ago
parent 62bb4ca199
commit 570da52bac
  1. 2
      ffplay.c

@ -1061,7 +1061,7 @@ static void stream_pause(VideoState *is)
static double compute_frame_delay(double frame_current_pts, 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 */ /* compute nominal delay */
delay = frame_current_pts - is->frame_last_pts; delay = frame_current_pts - is->frame_last_pts;

Loading…
Cancel
Save