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.
This commit is contained in:
Max Kellermann
2009-02-03 22:46:00 +01:00
parent f3b73b824f
commit 824d299eb1
2 changed files with 5 additions and 3 deletions

1
NEWS
View File

@@ -39,6 +39,7 @@ ver 0.14.2 (2009/??/??)
- ffmpeg: added support for the tags comment, genre, year
- ffmpeg: don't warn of empty packet output
- ffmpeg: check if the time stamp is valid
- ffmpeg: fixed seek integer overflow
- wavpack: pass NULL if the .wvc file fails to open
- mikmod: call MikMod_Exit() only in the finish() method
* audio outputs: