Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2012-12-26 03:26:59 +0400
committerMarton Balint <cus@passwd.hu>2012-12-28 23:01:01 +0400
commit92b50b71a1e4e78fa2828dc2e0a4428674a8a9b0 (patch)
treed2d862c209492dbc13510b7909e743334b5b2a59 /ffplay.c
parentec89ea30225780fedf702d7e8740fbf92418112c (diff)
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: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index c8dbda58a5..7d47bcdc2c 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -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++)