libavcodec/ffv1.c:791: error: Buffer Overrun L2
  Offset: [22, 62] (⇐ [22, 53] + [0, 9]) Size: 32 by call to `put_symbol`.

libavcodec/ffv1.c:749:1: Array declaration
747. 
748. #if CONFIG_FFV1_ENCODER
749. static int write_extra_header(FFV1Context *f){
     ^
750.     RangeCoder * const c= &f->c;
751.     uint8_t state[CONTEXT_SIZE];

libavcodec/ffv1.c:791:21: Call
789.                 for(k=0; k<CONTEXT_SIZE; k++){
790.                     int pred= j ? f->initial_states[i][j-1][k] : 128;
791.                     put_symbol(c, state2[k], (int8_t)(f->initial_states[i][j][k]-pred), 1);
                         ^
792.                 }
793.             }

libavcodec/ffv1.c:325:1: Parameter `*state`
  323. }
  324. 
  325. static av_noinline void put_symbol(RangeCoder *c, uint8_t *state, int v, int is_signed){
       ^
  326.     put_symbol_inline(c, state, v, is_signed, NULL, NULL);
  327. }

libavcodec/ffv1.c:326:5: Call
  324. 
  325. static av_noinline void put_symbol(RangeCoder *c, uint8_t *state, int v, int is_signed){
  326.     put_symbol_inline(c, state, v, is_signed, NULL, NULL);
           ^
  327. }
  328. 

libavcodec/ffv1.c:313:17: <Offset trace>
311. 
312.             for(i=e-1; i>=0; i--){
313.                 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31
                     ^
314.             }
315. 

libavcodec/ffv1.c:313:17: Assignment
    311. 
    312.             for(i=e-1; i>=0; i--){
    313.                 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31
                         ^
    314.             }
    315. 

libavcodec/ffv1.c:278:1: <Length trace>
276. }
277. 
278. static av_always_inline av_flatten void put_symbol_inline(RangeCoder *c, uint8_t *state, int v, int is_signed, uint64_t rc_stat[256][2], uint64_t rc_stat2[32][2]){
     ^
279.     int i;
280. 

libavcodec/ffv1.c:278:1: Parameter `*state`
    276. }
    277. 
    278. static av_always_inline av_flatten void put_symbol_inline(RangeCoder *c, uint8_t *state, int v, int is_signed, uint64_t rc_stat[256][2], uint64_t rc_stat2[32][2]){
         ^
    279.     int i;
    280. 

libavcodec/ffv1.c:313:17: Array access: Offset: [22, 62] (⇐ [22, 53] + [0, 9]) Size: 32 by call to `put_symbol` 
    311. 
    312.             for(i=e-1; i>=0; i--){
    313.                 put_rac(c, state+22+FFMIN(i,9), (a>>i)&1); //22..31
                         ^
    314.             }
    315. 
