libavcodec/qtrle.c:149: error: Uninitialized Value
  The value read from pi[_] was never initialized.

libavcodec/qtrle.c:149:25: 
147.                 while (rle_code--) {
148.                     for (i = 0; i < num_pixels; i++)
149.                         rgb[pixel_ptr++] = pi[i];
                             ^
150.                 }
151.             } else {

static inline void qtrle_decode_2n4bpp(QtrleContext *s, int stream_ptr,
                             int row_ptr, int lines_to_change, int bpp)
{
    int rle_code, i;
    int pixel_ptr;
    int row_inc = s->frame.linesize[0];
    unsigned char pi[16];
    unsigned char *rgb = s->frame.data[0];
    int pixel_limit = s->frame.linesize[0] * s->avctx->height;
    int num_pixels = (bpp == 4) ? 8 : 16;
    while (lines_to_change--) {
        CHECK_STREAM_PTR(2);
        pixel_ptr = row_ptr + (num_pixels * (s->buf[stream_ptr++] - 1));
        while ((rle_code = (signed char)s->buf[stream_ptr++]) != -1) {
            if (rle_code == 0) {
                CHECK_STREAM_PTR(1);
                pixel_ptr += (num_pixels * (s->buf[stream_ptr++] - 1));
                CHECK_PIXEL_PTR(0);
            } else if (rle_code < 0) {
                rle_code = -rle_code;
                CHECK_STREAM_PTR(4);
                for (i = num_pixels-1; i >= 0; i--) {
                    pi[num_pixels-1-i] = (s->buf[stream_ptr] >> ((i*bpp) & 0x07)) & ((1<<bpp)-1);
                    stream_ptr+= ((i & ((num_pixels>>2)-1)) == 0);
                }
                CHECK_PIXEL_PTR(rle_code * num_pixels);
                while (rle_code--) {
                    for (i = 0; i < num_pixels; i++)
                        rgb[pixel_ptr++] = pi[i];
                }
            } else {
                rle_code *= 4;
                CHECK_STREAM_PTR(rle_code);
                CHECK_PIXEL_PTR(rle_code*(num_pixels>>2));
                while (rle_code--) {
                    if(bpp == 4) {
                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 4) & 0x0f;
                        rgb[pixel_ptr++] = (s->buf[stream_ptr++]) & 0x0f;
                    } else {
                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 6) & 0x03;
                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 4) & 0x03;
                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 2) & 0x03;
                        rgb[pixel_ptr++] = (s->buf[stream_ptr++]) & 0x03;
                    }
                }
            }
        }
        row_ptr += row_inc;
    }
}
['static inline void qtrle_decode_2n4bpp(QtrleContext *s, int stream_ptr,\n                             int row_ptr, int lines_to_change, int bpp)\n{\n    int rle_code, i;\n    int pixel_ptr;\n    int row_inc = s->frame.linesize[0];\n    unsigned char pi[16];\n    unsigned char *rgb = s->frame.data[0];\n    int pixel_limit = s->frame.linesize[0] * s->avctx->height;\n    int num_pixels = (bpp == 4) ? 8 : 16;\n    while (lines_to_change--) {\n        CHECK_STREAM_PTR(2);\n        pixel_ptr = row_ptr + (num_pixels * (s->buf[stream_ptr++] - 1));\n        while ((rle_code = (signed char)s->buf[stream_ptr++]) != -1) {\n            if (rle_code == 0) {\n                CHECK_STREAM_PTR(1);\n                pixel_ptr += (num_pixels * (s->buf[stream_ptr++] - 1));\n                CHECK_PIXEL_PTR(0);\n            } else if (rle_code < 0) {\n                rle_code = -rle_code;\n                CHECK_STREAM_PTR(4);\n                for (i = num_pixels-1; i >= 0; i--) {\n                    pi[num_pixels-1-i] = (s->buf[stream_ptr] >> ((i*bpp) & 0x07)) & ((1<<bpp)-1);\n                    stream_ptr+= ((i & ((num_pixels>>2)-1)) == 0);\n                }\n                CHECK_PIXEL_PTR(rle_code * num_pixels);\n                while (rle_code--) {\n                    for (i = 0; i < num_pixels; i++)\n                        rgb[pixel_ptr++] = pi[i];\n                }\n            } else {\n                rle_code *= 4;\n                CHECK_STREAM_PTR(rle_code);\n                CHECK_PIXEL_PTR(rle_code*(num_pixels>>2));\n                while (rle_code--) {\n                    if(bpp == 4) {\n                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 4) & 0x0f;\n                        rgb[pixel_ptr++] = (s->buf[stream_ptr++]) & 0x0f;\n                    } else {\n                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 6) & 0x03;\n                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 4) & 0x03;\n                        rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 2) & 0x03;\n                        rgb[pixel_ptr++] = (s->buf[stream_ptr++]) & 0x03;\n                    }\n                }\n            }\n        }\n        row_ptr += row_inc;\n    }\n}']