Skip to content
Commit 183d20b1 authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

Fix libsoundfiledecoder with files with non whole second length

There were two issues:
 * the frames calculation was first doing integer division and the
   multiplication by a double, so the result was always a whole number
of seconds in frames
 * the code decodeInternal always assumed that it would read a whole
   second and if not that was a problem

BUGS: 418079
parent 24d966d4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment