summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2014-11-18 18:24:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-18 18:24:37 +0000
commit48b447fe4e2dd1e3c121b614f745a7aa03f1535a (patch)
tree11eafca29bf00e7566e7f4af3713edb8df3ee6a6
parent34c55e3ec5d4f6fdc2313ce904fb95b9ccdf9d72 (diff)
parent266299cfb628ce2cadccb76443b0566e1a53dbcc (diff)
downloadframeworks_av-48b447fe4e2dd1e3c121b614f745a7aa03f1535a.zip
frameworks_av-48b447fe4e2dd1e3c121b614f745a7aa03f1535a.tar.gz
frameworks_av-48b447fe4e2dd1e3c121b614f745a7aa03f1535a.tar.bz2
Merge "Fix uninitialized variable"
-rw-r--r--media/libstagefright/rtsp/SDPLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/rtsp/SDPLoader.cpp b/media/libstagefright/rtsp/SDPLoader.cpp
index 424badf..a24eb69 100644
--- a/media/libstagefright/rtsp/SDPLoader.cpp
+++ b/media/libstagefright/rtsp/SDPLoader.cpp
@@ -105,7 +105,7 @@ void SDPLoader::onLoad(const sp<AMessage> &msg) {
headers = NULL;
}
- off64_t sdpSize;
+ off64_t sdpSize = 0;
if (err == OK && !mCancelled) {
err = mHTTPDataSource->getSize(&sdpSize);