Commit 92b50b71 authored by Marton Balint's avatar Marton Balint

ffplay: fix type of time_diff in waveform display

Fixes time diff overflow visible as showing the same few waveforms in a loop at
the end of file.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent ec89ea30
......@@ -828,7 +828,7 @@ static void video_audio_display(VideoState *s)
{
int i, i_start, x, y1, y, ys, delay, n, nb_display_channels;
int ch, channels, h, h2, bgcolor, fgcolor;
int16_t time_diff;
int64_t time_diff;
int rdft_bits, nb_freq;
for (rdft_bits = 1; (1 << rdft_bits) < 2 * s->height; rdft_bits++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment