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

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

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

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

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

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

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

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

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

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