• Max Kellermann's avatar
    ffmpeg: fixed seek integer overflow · 824d299e
    Max Kellermann authored
    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.
    824d299e
ffmpeg_plugin.c 10.2 KB