libavcodec/cook.c:611: error: Buffer Overrun L2
  Offset: [min(7, `*category`), max(7, `*category`)] Size: 7 by call to `unpack_SQVH`.

libavcodec/cook.c:596:1: Parameter `*category`
594.  * @param mlt_buffer        pointer to mlt coefficients
595.  */
596. static void decode_vectors(COOKContext *q, COOKSubpacket *p, int *category,
     ^
597.                            int *quant_index_table, float *mlt_buffer)
598. {

libavcodec/cook.c:611:17: Call
609.         index = category[band];
610.         if (category[band] < 7) {
611.             if (unpack_SQVH(q, p, category[band], subband_coef_index, subband_coef_sign)) {
                     ^
612.                 index = 7;
613.                 for (j = 0; j < p->total_subbands; j++)

libavcodec/cook.c:552:1: <Offset trace>
550.  * @param subband_coef_sign     signs of coefficients
551.  */
552. static int unpack_SQVH(COOKContext *q, COOKSubpacket *p, int category,
     ^
553.                        int *subband_coef_index, int *subband_coef_sign)
554. {

libavcodec/cook.c:552:1: Parameter `category`
  550.  * @param subband_coef_sign     signs of coefficients
  551.  */
  552. static int unpack_SQVH(COOKContext *q, COOKSubpacket *p, int category,
       ^
  553.                        int *subband_coef_index, int *subband_coef_sign)
  554. {

libavcodec/cookdata.h:61:1: <Length trace>
59. };
60. 
61. static const int vd_tab[7] = {
    ^
62.     2, 2, 2, 4, 4, 5, 5,
63. };

libavcodec/cookdata.h:61:1: Array declaration
  59. };
  60. 
  61. static const int vd_tab[7] = {
      ^
  62.     2, 2, 2, 4, 4, 5, 5,
  63. };

libavcodec/cook.c:558:10: Array access: Offset: [min(7, *category), max(7, *category)] Size: 7 by call to `unpack_SQVH` 
  556.     int vlc, vd, tmp, result;
  557. 
  558.     vd = vd_tab[category];
                ^
  559.     result = 0;
  560.     for (i = 0; i < vpr_tab[category]; i++) {
