libavcodec/ffv1.c:328: error: Buffer Overrun L2
  Offset: [1, 256] Size: 256.

libavcodec/ffv1.c:325:21: <Offset trace>
323.             for(k=0; k<256; k++){
324.                 double newocc[256]={0};
325.                 for(m=0; m<256; m++){
                         ^
326.                     if(occ[m]){
327.                         len -=occ[m]*(     p *l2tab[    m]

libavcodec/ffv1.c:325:21: Assignment
323.             for(k=0; k<256; k++){
324.                 double newocc[256]={0};
325.                 for(m=0; m<256; m++){
                         ^
326.                     if(occ[m]){
327.                         len -=occ[m]*(     p *l2tab[    m]

libavcodec/ffv1.c:305:1: <Length trace>
303. }
304. 
305. static void find_best_state(uint8_t best_state[256][256], const uint8_t one_state[256]){
     ^
306.     int i,j,k,m;
307.     double l2tab[256];

libavcodec/ffv1.c:305:1: Array declaration
303. }
304. 
305. static void find_best_state(uint8_t best_state[256][256], const uint8_t one_state[256]){
     ^
306.     int i,j,k,m;
307.     double l2tab[256];

libavcodec/ffv1.c:328:47: Array access: Offset: [1, 256] Size: 256
326.                     if(occ[m]){
327.                         len -=occ[m]*(     p *l2tab[    m]
328.                                       + (1-p)*l2tab[256-m]);
                                                   ^
329.                     }
330.                 }
