1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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
This commit is contained in:
Stefano Sabatini 2010-02-06 00:05:38 +00:00
parent 62bb4ca199
commit 570da52bac

View File

@ -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;