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

Commit 388c0389 authored by Ray Essick's avatar Ray Essick Committed by Android (Google) Code Review
Browse files

Merge "mpeg4enc: fix OOB in RasterIntraUpdate" into mainline-prod

parents 818dbf73 8460ab7b
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  */