summaryrefslogtreecommitdiffstats
path: root/media/libstagefright
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2014-01-09 09:50:14 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-09 09:50:14 -0800
commit586dda1d0845612af88e3f4ffc46ed38e304ef85 (patch)
tree9328d0a0984226824c21559eaf571af1f7f4f79d /media/libstagefright
parentf60cfa7faa0bdde0a4f302f1272d6aa869588cc4 (diff)
parent5ca94d2f3c4662aed7b66a97b77eb2d1948464ad (diff)
downloadframeworks_av-586dda1d0845612af88e3f4ffc46ed38e304ef85.zip
frameworks_av-586dda1d0845612af88e3f4ffc46ed38e304ef85.tar.gz
frameworks_av-586dda1d0845612af88e3f4ffc46ed38e304ef85.tar.bz2
am 5ca94d2f: Merge "HLS: Fixed rounding error with decimal segment duration"
* commit '5ca94d2f3c4662aed7b66a97b77eb2d1948464ad': HLS: Fixed rounding error with decimal segment duration
Diffstat (limited to 'media/libstagefright')
-rw-r--r--media/libstagefright/httplive/M3UParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/httplive/M3UParser.cpp b/media/libstagefright/httplive/M3UParser.cpp
index 243888c..dd248cb 100644
--- a/media/libstagefright/httplive/M3UParser.cpp
+++ b/media/libstagefright/httplive/M3UParser.cpp
@@ -608,7 +608,7 @@ status_t M3UParser::parseMetaDataDuration(
if (meta->get() == NULL) {
*meta = new AMessage;
}
- (*meta)->setInt64(key, (int64_t)x * 1E6);
+ (*meta)->setInt64(key, (int64_t)(x * 1E6));
return OK;
}