Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67315858 authored by Andreas Huber's avatar Andreas Huber
Browse files

Fix uninitialized variable error in HLS bandwidth determination.

Change-Id: I647e79443f2a06e5b1b4f9068c02b424b0e57989
parent 7c684c62
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);