diff options
author | Max Kellermann <max@duempel.org> | 2009-02-03 22:46:00 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-03 22:51:44 +0100 |
commit | 824d299eb13e2fc4d03f5c4974a9c4f6511fd284 (patch) | |
tree | 5d4668233bc1b7919f119718b2e66491c60ab8f8 /src/stats.c | |
parent | f3b73b824f849f7c1280a59ddb67f5c3d187a5af (diff) | |
download | mpd-824d299eb13e2fc4d03f5c4974a9c4f6511fd284.tar.gz mpd-824d299eb13e2fc4d03f5c4974a9c4f6511fd284.tar.xz mpd-824d299eb13e2fc4d03f5c4974a9c4f6511fd284.zip |
ffmpeg: fixed seek integer overflow
The "current" variable is used for calculating the seek destination,
and was declared as "int". With very long song files, the 32 bit
integer can overflow. ffmpeg expects an int64_t, which is very
unlikely to overflow. Switch to int64_t.
Diffstat (limited to 'src/stats.c')
0 files changed, 0 insertions, 0 deletions