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

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

Merge "mpeg4enc: fix OOB in RasterIntraUpdate"

parents f829706b eac781b2
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  */