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

Commit aa101266 authored by Greg Kaiser's avatar Greg Kaiser Committed by android-build-merger
Browse files

Merge "WriterTest: Fix bounds check"

am: 6409c17e

Change-Id: I0462b8057b72655e9b9c9e656ffbec8c9d9b0292
parents 9cd48581 6409c17e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ int32_t WriterTest::addWriterSource(bool isAudio, configFormat params) {

void getFileDetails(string &inputFilePath, string &info, configFormat &params, bool &isAudio,
                    int32_t streamIndex = 0) {
    if (streamIndex > sizeof(kInputData) / sizeof(kInputData[0])) {
    if (streamIndex >= sizeof(kInputData) / sizeof(kInputData[0])) {
        return;
    }
    inputFilePath += kInputData[streamIndex].inputFile;