OSDN Git Service

HLS: Fixed rounding error with decimal segment duration
authorOscar Rydhé <oscar.rydhe@sonymobile.com>
Tue, 17 Dec 2013 08:53:18 +0000 (09:53 +0100)
committerTakeshi Aimi <takeshi.aimi@sonymobile.com>
Thu, 19 Dec 2013 04:48:04 +0000 (13:48 +0900)
commitabd5feeea499ee7337125223df4ea22cae19cd20
treecafee3ff937b8af763d12bce413563df1dda8837
parent1f95555c69219180f792ac742cc0e386496c29e6
HLS: Fixed rounding error with decimal segment duration

If segment duration is specified with decimal value only the
integer value will be used, causing the stream duration to
be wrong.

Reported to Android public issue tracker:
https://code.google.com/p/android/issues/detail?id=56223

Change-Id: I34fb7a81af6ad3d9a214228cfe3724636ebf5ab5
media/libstagefright/httplive/M3UParser.cpp