libavcodec/adxenc.c:73: error: Uninitialized Value
  The value read from data[_] was never initialized.

libavcodec/adxenc.c:73:9: 
71. 
72.     for(i=0;i<16;i++) {
73.         adx[i+2] = ((data[i*2]/scale)<<4) | ((data[i*2+1]/scale)&0xf);
            ^
74.     }
75. }

static void adx_encode(unsigned char *adx,const short *wav,PREV *prev)
{
    int scale;
    int i;
    int s0,s1,s2,d;
    int max=0;
    int min=0;
    int data[32];
    s1 = prev->s1;
    s2 = prev->s2;
    for(i=0;i<32;i++) {
        s0 = wav[i];
        d = ((s0<<14) - SCALE1*s1 + SCALE2*s2)/BASEVOL;
        data[i]=d;
        if (max<d) max=d;
        if (min>d) min=d;
        s2 = s1;
        s1 = s0;
    }
    prev->s1 = s1;
    prev->s2 = s2;
    if (max==0 && min==0) {
        memset(adx,0,18);
        return;
    }
    if (max/7>-min/8) scale = max/7;
    else scale = -min/8;
    if (scale==0) scale=1;
    AV_WB16(adx, scale);
    for(i=0;i<16;i++) {
        adx[i+2] = ((data[i*2]/scale)<<4) | ((data[i*2+1]/scale)&0xf);
    }
}
['static void adx_encode(unsigned char *adx,const short *wav,PREV *prev)\n{\n    int scale;\n    int i;\n    int s0,s1,s2,d;\n    int max=0;\n    int min=0;\n    int data[32];\n    s1 = prev->s1;\n    s2 = prev->s2;\n    for(i=0;i<32;i++) {\n        s0 = wav[i];\n        d = ((s0<<14) - SCALE1*s1 + SCALE2*s2)/BASEVOL;\n        data[i]=d;\n        if (max<d) max=d;\n        if (min>d) min=d;\n        s2 = s1;\n        s1 = s0;\n    }\n    prev->s1 = s1;\n    prev->s2 = s2;\n    if (max==0 && min==0) {\n        memset(adx,0,18);\n        return;\n    }\n    if (max/7>-min/8) scale = max/7;\n    else scale = -min/8;\n    if (scale==0) scale=1;\n    AV_WB16(adx, scale);\n    for(i=0;i<16;i++) {\n        adx[i+2] = ((data[i*2]/scale)<<4) | ((data[i*2+1]/scale)&0xf);\n    }\n}']