diff options
-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); |