libavcodec/twinvq.c:1088: error: Buffer Overrun L2
  Offset: [0, 4] (⇐ [0, 3] + [0, 1]) Size: 4 by call to `construct_perm_table`.

libavcodec/twinvq.c:1087:10: Assignment
1085.     }
1086. 
1087.     for (frametype = FT_SHORT; frametype <= FT_PPC; frametype++)
               ^
1088.         construct_perm_table(tctx, frametype);
1089. }

libavcodec/twinvq.c:1088:9: Call
1086. 
1087.     for (frametype = FT_SHORT; frametype <= FT_PPC; frametype++)
1088.         construct_perm_table(tctx, frametype);
              ^
1089. }
1090. 

libavcodec/twinvq.c:996:1: Parameter `ftype`
  994. }
  995. 
  996. static av_cold void construct_perm_table(TwinContext *tctx,
       ^
  997.                                          enum FrameType ftype)
  998. {

libavcodec/twinvq.c:1015:5: Call
  1013.                       tctx->length_change[ftype], ftype);
  1014. 
  1015.     transpose_perm(tctx->permut[ftype], tmp_perm, tctx->n_div[ftype],
            ^
  1016.                    tctx->length[ftype], tctx->length_change[ftype]);
  1017. 

libavcodec/twinvq.c:983:34: <Offset trace>
981. 
982.     for (i = 0; i < num_vect; i++)
983.         for (j = 0; j < line_len[i >= length_div]; j++)
                                      ^
984.             out[cont++] = in[j * num_vect + i];
985. }

libavcodec/twinvq.c:983:34: Assignment
    981. 
    982.     for (i = 0; i < num_vect; i++)
    983.         for (j = 0; j < line_len[i >= length_div]; j++)
                                          ^
    984.             out[cont++] = in[j * num_vect + i];
    985. }

libavcodec/twinvq.c:976:1: <Length trace>
974.  * aiqxbjr1cks2dlt3emu4fvn5gow6hp
975.  */
976. static void transpose_perm(int16_t *out, int16_t *in, int num_vect,
     ^
977.                            const uint8_t line_len[2], int length_div)
978. {

libavcodec/twinvq.c:976:1: Parameter `*line_len`
    974.  * aiqxbjr1cks2dlt3emu4fvn5gow6hp
    975.  */
    976. static void transpose_perm(int16_t *out, int16_t *in, int num_vect,
         ^
    977.                            const uint8_t line_len[2], int length_div)
    978. {

libavcodec/twinvq.c:983:25: Array access: Offset: [0, 4] (⇐ [0, 3] + [0, 1]) Size: 4 by call to `construct_perm_table` 
    981. 
    982.     for (i = 0; i < num_vect; i++)
    983.         for (j = 0; j < line_len[i >= length_div]; j++)
                                 ^
    984.             out[cont++] = in[j * num_vect + i];
    985. }
