int repeat;
int repeat=0;
static void store_table(HYuvContext *s, uint8_t *len){    int i;    int index= s->avctx->extradata_size;    for(i=0; i<256;){        int cur=i;        int val= len[i];        int repeat;                for(; i<256 && len[i]==val; i++);                repeat= i - cur;                if(repeat>7){            ((uint8_t*)s->avctx->extradata)[index++]= val;            ((uint8_t*)s->avctx->extradata)[index++]= repeat;        }else{            ((uint8_t*)s->avctx->extradata)[index++]= val | (repeat<<5);        }    }        s->avctx->extradata_size= index;}