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

Commit 7f822771 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "mpeg4enc: fix OOB in RasterIntraUpdate" into rvc-qpr-dev

parents 1c03d6e0 7a9e8dfe
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1576,7 +1576,7 @@ void RasterIntraUpdate(UChar *intraArray, UChar *Mode, Int totalMB, Int numRefre

    /* find the last refresh MB */
    indx = 0;
    while (intraArray[indx] == 1 && indx < totalMB)
    while (indx < totalMB && intraArray[indx] == 1)
        indx++;

    /* add more  */