libavcodec/qdm2.c:772: error: Buffer Overrun L2
  Offset: [0, 30] Size: 30 by call to `fix_coding_method_array`.

libavcodec/qdm2.c:771:18: Assignment
769.                         coding_method[ch][sb][j] = ((tmp & 0xfffa) + 30 )& 0xff;
770.                     }
771.             for (sb = 0; sb < 30; sb++)
                      ^
772.                 fix_coding_method_array(sb, nb_channels, coding_method);
773.             for (ch = 0; ch < nb_channels; ch++)

libavcodec/qdm2.c:772:17: Call
770.                     }
771.             for (sb = 0; sb < 30; sb++)
772.                 fix_coding_method_array(sb, nb_channels, coding_method);
                     ^
773.             for (ch = 0; ch < nb_channels; ch++)
774.                 for (sb = 0; sb < 30; sb++)

libavcodec/qdm2.c:528:1: <Offset trace>
526.  * @param coding_method    q->coding_method[0][0][0]
527.  */
528. static int fix_coding_method_array(int sb, int channels,
     ^
529.                                    sb_int8_array coding_method)
530. {

libavcodec/qdm2.c:528:1: Parameter `sb`
  526.  * @param coding_method    q->coding_method[0][0][0]
  527.  */
  528. static int fix_coding_method_array(int sb, int channels,
       ^
  529.                                    sb_int8_array coding_method)
  530. {

libavcodec/qdm2.c:528:1: <Length trace>
526.  * @param coding_method    q->coding_method[0][0][0]
527.  */
528. static int fix_coding_method_array(int sb, int channels,
     ^
529.                                    sb_int8_array coding_method)
530. {

libavcodec/qdm2.c:528:1: Parameter `(*coding_method)[*]`
  526.  * @param coding_method    q->coding_method[0][0][0]
  527.  */
  528. static int fix_coding_method_array(int sb, int channels,
       ^
  529.                                    sb_int8_array coding_method)
  530. {

libavcodec/qdm2.c:569:25: Array access: Offset: [0, 30] Size: 30 by call to `fix_coding_method_array` 
  567.             for (k = 0; k < run; k++) {
  568.                 if (j + k < 128) {
  569.                     if (coding_method[ch][sb + (j + k) / 64][(j + k) % 64] > coding_method[ch][sb][j]) {
                               ^
  570.                         if (k > 0) {
  571.                             SAMPLES_NEEDED
