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

Commit 6409c17e authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "WriterTest: Fix bounds check"

parents bcb85772 8dc1c727
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;