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

Commit fc0d6167 authored by Greg Kaiser's avatar Greg Kaiser Committed by Android (Google) Code Review
Browse files

Merge "Gallery2: Fix use of uninitialized stack variables" into nyc-dev

parents 74e6f871 d30b655d
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -99,10 +99,10 @@ void estmateWhite(unsigned char *src, int len, int *wr, int *wb, int *wg){
}

void estmateWhiteBox(unsigned char *src, int iw, int ih, int x,int y, int *wr, int *wb, int *wg){
    int r;
    int g;
    int b;
    int sum;
    int r = 0;
    int g = 0;
    int b = 0;
    int sum = 0;
    int xp,yp;
    int bounds = 5;
    if (x<0) x = bounds;