commit | e75850d70aecf270430f4713a2ac02ddba70c849 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Fri Oct 25 16:34:16 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Oct 25 16:34:16 2019 +0000 |
tree | fa8203ce436cbb5187e35b834ba9febec8e55773 | |
parent | f7902c01f85ba4941cbfa19fe105e9235426d857 [diff] | |
parent | 61318c55b26fde06801a09f10f324f487b011bdc [diff] |
Merge "nuplayer: fix a use-of-uninit-value"
diff --git a/media/libmediaplayerservice/nuplayer/GenericSource.cpp b/media/libmediaplayerservice/nuplayer/GenericSource.cpp index f17520a..00e3443 100644 --- a/media/libmediaplayerservice/nuplayer/GenericSource.cpp +++ b/media/libmediaplayerservice/nuplayer/GenericSource.cpp
@@ -784,7 +784,7 @@ return; } - int64_t nextSubTimeUs; + int64_t nextSubTimeUs = 0; readBuffer(type, -1, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */, &nextSubTimeUs); sp<ABuffer> buffer;