libavcodec/intrax8dsp.c:111: error: Uninitialized Value
  The value read from c was never initialized.

libavcodec/intrax8dsp.c:111:13: 
109.         }
110.         if(edges&4){//last block on the row?
111.             memset(dst+area5,c,8);//set with last pixel fr
                 ^
112.             memcpy(dst+area4, ptr, 8);
113.         }else{

static void x8_setup_spatial_compensation(uint8_t *src, uint8_t *dst, int linesize,
           int * range, int * psum,  int edges){
    uint8_t * ptr;
    int sum;
    int i;
    int min_pix,max_pix;
    uint8_t c;
    if((edges&3)==3){
        *psum=0x80*(8+1+8+2);
        *range=0;
        memset(dst,0x80,16+1+16+8);
        return;
    }
    min_pix=256;
    max_pix=-1;
    sum=0;
    if(!(edges&1)){
        ptr=src-1;
        for(i=7;i>=0;i--){
            c=*(ptr-1);
            dst[area1+i]=c;
            c=*(ptr);
            sum+=c;
            min_pix=FFMIN(min_pix,c);
            max_pix=FFMAX(max_pix,c);
            dst[area2+i]=c;
            ptr+=linesize;
        }
    }
    if(!(edges&2)){
        ptr=src-linesize;
        for(i=0;i<8;i++){
            c=*(ptr+i);
            sum+=c;
            min_pix=FFMIN(min_pix, c);
            max_pix=FFMAX(max_pix, c);
        }
        if(edges&4){
            memset(dst+area5,c,8);
            memcpy(dst+area4, ptr, 8);
        }else{
            memcpy(dst+area4, ptr, 16);
        }
        memcpy(dst+area6, ptr-linesize, 8);
    }
    if(edges&3){
        int avg=(sum+4)>>3;
        if(edges&1){
            memset(dst+area1,avg,8+8+1);
        }else{
            memset(dst+area3,avg, 1+16+8);
        }
        sum+=avg*9;
    }else{
        uint8_t c=*(src-1-linesize);
        dst[area3]=c;
        sum+=c;
    }
    (*range) = max_pix - min_pix;
    sum += *(dst+area5) + *(dst+area5+1);
    *psum = sum;
}
['static void x8_setup_spatial_compensation(uint8_t *src, uint8_t *dst, int linesize,\n           int * range, int * psum,  int edges){\n    uint8_t * ptr;\n    int sum;\n    int i;\n    int min_pix,max_pix;\n    uint8_t c;\n    if((edges&3)==3){\n        *psum=0x80*(8+1+8+2);\n        *range=0;\n        memset(dst,0x80,16+1+16+8);\n        return;\n    }\n    min_pix=256;\n    max_pix=-1;\n    sum=0;\n    if(!(edges&1)){\n        ptr=src-1;\n        for(i=7;i>=0;i--){\n            c=*(ptr-1);\n            dst[area1+i]=c;\n            c=*(ptr);\n            sum+=c;\n            min_pix=FFMIN(min_pix,c);\n            max_pix=FFMAX(max_pix,c);\n            dst[area2+i]=c;\n            ptr+=linesize;\n        }\n    }\n    if(!(edges&2)){\n        ptr=src-linesize;\n        for(i=0;i<8;i++){\n            c=*(ptr+i);\n            sum+=c;\n            min_pix=FFMIN(min_pix, c);\n            max_pix=FFMAX(max_pix, c);\n        }\n        if(edges&4){\n            memset(dst+area5,c,8);\n            memcpy(dst+area4, ptr, 8);\n        }else{\n            memcpy(dst+area4, ptr, 16);\n        }\n        memcpy(dst+area6, ptr-linesize, 8);\n    }\n    if(edges&3){\n        int avg=(sum+4)>>3;\n        if(edges&1){\n            memset(dst+area1,avg,8+8+1);\n        }else{\n            memset(dst+area3,avg, 1+16+8);\n        }\n        sum+=avg*9;\n    }else{\n        uint8_t c=*(src-1-linesize);\n        dst[area3]=c;\n        sum+=c;\n    }\n    (*range) = max_pix - min_pix;\n    sum += *(dst+area5) + *(dst+area5+1);\n    *psum = sum;\n}']