libavcodec/ffv1.c:529: error: Buffer Overrun L2
  Offset: [1, 131] (⇐ [0, 4] + [1, 127]) Size: 5 by call to `write_quant_table`.

libavcodec/ffv1.c:513:1: Parameter `f->quant_table[*]`
511. }
512. 
513. static void write_header(FFV1Context *f){
     ^
514.     uint8_t state[CONTEXT_SIZE];
515.     int i;

libavcodec/ffv1.c:529:9: Call
527. 
528.     for(i=0; i<5; i++)
529.         write_quant_table(c, f->quant_table[i]);
             ^
530. }
531. #endif /* CONFIG_ENCODERS */

libavcodec/ffv1.c:504:9: <Offset trace>
502.     memset(state, 128, sizeof(state));
503. 
504.     for(i=1; i<128 ; i++){
             ^
505.         if(quant_table[i] != quant_table[i-1]){
506.             put_symbol(c, state, i-last-1, 0);

libavcodec/ffv1.c:504:9: Assignment
  502.     memset(state, 128, sizeof(state));
  503. 
  504.     for(i=1; i<128 ; i++){
               ^
  505.         if(quant_table[i] != quant_table[i-1]){
  506.             put_symbol(c, state, i-last-1, 0);

libavcodec/ffv1.c:498:1: <Length trace>
496. }
497. 
498. static void write_quant_table(RangeCoder *c, int16_t *quant_table){
     ^
499.     int last=0;
500.     int i;

libavcodec/ffv1.c:498:1: Parameter `*quant_table`
  496. }
  497. 
  498. static void write_quant_table(RangeCoder *c, int16_t *quant_table){
       ^
  499.     int last=0;
  500.     int i;

libavcodec/ffv1.c:505:12: Array access: Offset: [1, 131] (⇐ [0, 4] + [1, 127]) Size: 5 by call to `write_quant_table` 
  503. 
  504.     for(i=1; i<128 ; i++){
  505.         if(quant_table[i] != quant_table[i-1]){
                  ^
  506.             put_symbol(c, state, i-last-1, 0);
  507.             last= i;
