aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/_flac_common.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-03 22:46:00 +0100
committerMax Kellermann <max@duempel.org>2009-02-03 22:51:44 +0100
commit824d299eb13e2fc4d03f5c4974a9c4f6511fd284 (patch)
tree5d4668233bc1b7919f119718b2e66491c60ab8f8 /src/decoder/_flac_common.c
parentf3b73b824f849f7c1280a59ddb67f5c3d187a5af (diff)
downloadmpd-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/decoder/_flac_common.c')
0 files changed, 0 insertions, 0 deletions