diff options
author | Andreas Huber <andih@google.com> | 2013-06-03 23:03:38 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-06-03 23:03:38 +0000 |
commit | c92ed3339b533afbfb94893de6bb10bc2c0951e9 (patch) | |
tree | 4de4e98833b1e62e19bea53803266ebc100b32b5 | |
parent | 8a8bc6839910009e3568831415555d5e173d9bee (diff) | |
parent | 673158582c9589cee1d5e4d7c79622609938b8f8 (diff) | |
download | frameworks_av-c92ed3339b533afbfb94893de6bb10bc2c0951e9.zip frameworks_av-c92ed3339b533afbfb94893de6bb10bc2c0951e9.tar.gz frameworks_av-c92ed3339b533afbfb94893de6bb10bc2c0951e9.tar.bz2 |
Merge "Fix uninitialized variable error in HLS bandwidth determination."
-rw-r--r-- | media/libstagefright/httplive/LiveSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/httplive/LiveSession.cpp b/media/libstagefright/httplive/LiveSession.cpp index fff13eb..e91c60b 100644 --- a/media/libstagefright/httplive/LiveSession.cpp +++ b/media/libstagefright/httplive/LiveSession.cpp @@ -651,7 +651,7 @@ size_t LiveSession::getBandwidthIndex() { #if 1 char value[PROPERTY_VALUE_MAX]; - ssize_t index; + ssize_t index = -1; if (property_get("media.httplive.bw-index", value, NULL)) { char *end; index = strtol(value, &end, 10); |