Closed GoogleCodeExporter closed 8 years ago
Thanks for the report, here's the way I fixed it :
if( v != null ) {
// sometimes, AMF sends floats that are not ints.
// We will assume a .0001 precision here
var i = Math.round(v);
var e = v - i;
if( e > 1e4 || e < -1e4 )
v = null;
else
v = i;
}
Could you check that it works correctly and fixes your bug ?
Original comment by ncanna...@gmail.com
on 25 Oct 2008 at 9:54
Yep, that works splendidly, can seek into a 3hour long FLV file with out the
error
arrising.
Original comment by dorian.m...@gmail.com
on 26 Oct 2008 at 6:37
Original issue reported on code.google.com by
doria...@gmail.com
on 23 Oct 2008 at 11:42