libavcodec/twinvq.c:727: error: Buffer Overrun L2
  Offset: [0, 3] Size: 3 by call to `construct_perm_table`.

libavcodec/twinvq.c:726:10: Assignment
724.     }
725. 
726.     for (frametype = TWINVQ_FT_SHORT; frametype <= TWINVQ_FT_PPC; frametype++)
              ^
727.         construct_perm_table(tctx, frametype);
728. }

libavcodec/twinvq.c:727:9: Call
725. 
726.     for (frametype = TWINVQ_FT_SHORT; frametype <= TWINVQ_FT_PPC; frametype++)
727.         construct_perm_table(tctx, frametype);
             ^
728. }
729. 

libavcodec/twinvq.c:634:1: <Offset trace>
632. }
633. 
634. static av_cold void construct_perm_table(TwinVQContext *tctx,
     ^
635.                                          enum TwinVQFrameType ftype)
636. {

libavcodec/twinvq.c:634:1: Parameter `ftype`
  632. }
  633. 
  634. static av_cold void construct_perm_table(TwinVQContext *tctx,
       ^
  635.                                          enum TwinVQFrameType ftype)
  636. {

libavcodec/twinvq.c:634:1: <Length trace>
632. }
633. 
634. static av_cold void construct_perm_table(TwinVQContext *tctx,
     ^
635.                                          enum TwinVQFrameType ftype)
636. {

libavcodec/twinvq.c:634:1: Parameter `tctx->mtab->fmode[*]`
  632. }
  633. 
  634. static av_cold void construct_perm_table(TwinVQContext *tctx,
       ^
  635.                                          enum TwinVQFrameType ftype)
  636. {

libavcodec/twinvq.c:645:46: Array access: Offset: [0, 3] Size: 3 by call to `construct_perm_table` 
  643.         block_size = mtab->ppc_shape_len;
  644.     } else {
  645.         size       = tctx->avctx->channels * mtab->fmode[ftype].sub;
                                                    ^
  646.         block_size = mtab->size / mtab->fmode[ftype].sub;
  647.     }
