gecko-dev/media/libstagefright
Jean-Yves Avenard 950b3b9268 Bug 1278005: Fix rounding problems. r=cpearce, a=tomcat
We had two potentials rounding issue occurring. The one causing the problem is that adding an int64 with a float is a float, and would be limited to 24bits mantissa.
The other, could be that rounding would occur if the segment duration was over 16s long, as that too would exceed the representation range as we using microseconds representation internally.

MozReview-Commit-ID: FyBTGvfg25I

--HG--
extra : transplant_source : %D0%14u%E3%1E%C6%D2%FC4%A4%2B%C0%20k%05%E8%90qz%2B
2016-06-04 12:22:39 +10:00
..