libavcodec/cavsdec.c:143: error: Buffer Overrun L2
  Offset: [0, 64] Size: 64 by call to `dequant`.

libavcodec/cavsdec.c:115:1: Array declaration
113.  * @param stride line stride in frame buffer
114.  */
115. static int decode_residual_block(AVSContext *h, GetBitContext *gb,
     ^
116.                                  const dec_2dvlc_t *r, int esc_golomb_order,
117.                                  int qp, uint8_t *dst, int stride) {

libavcodec/cavsdec.c:143:8: Call
141.         run_buf[i] = run;
142.     }
143.     if(dequant(h,level_buf, run_buf, block, ff_cavs_dequant_mul[qp],
            ^
144.                ff_cavs_dequant_shift[qp], i))
145.         return -1;

libavcodec/cavs.h:279:1: <Offset trace>
277. }
278. 
279. static inline int dequant(AVSContext *h, DCTELEM *level_buf, uint8_t *run_buf,
     ^
280.                           DCTELEM *dst, int mul, int shift, int coeff_num) {
281.     int round = 1 << (shift - 1);

libavcodec/cavs.h:279:1: Parameter `coeff_num`
  277. }
  278. 
  279. static inline int dequant(AVSContext *h, DCTELEM *level_buf, uint8_t *run_buf,
       ^
  280.                           DCTELEM *dst, int mul, int shift, int coeff_num) {
  281.     int round = 1 << (shift - 1);

libavcodec/cavs.h:286:11: Assignment
  284. 
  285.     /* inverse scan and dequantization */
  286.     while(--coeff_num >= 0){
                 ^
  287.         pos += run_buf[coeff_num];
  288.         if(pos > 63) {

libavcodec/cavs.h:279:1: <Length trace>
277. }
278. 
279. static inline int dequant(AVSContext *h, DCTELEM *level_buf, uint8_t *run_buf,
     ^
280.                           DCTELEM *dst, int mul, int shift, int coeff_num) {
281.     int round = 1 << (shift - 1);

libavcodec/cavs.h:279:1: Parameter `*level_buf`
  277. }
  278. 
  279. static inline int dequant(AVSContext *h, DCTELEM *level_buf, uint8_t *run_buf,
       ^
  280.                           DCTELEM *dst, int mul, int shift, int coeff_num) {
  281.     int round = 1 << (shift - 1);

libavcodec/cavs.h:294:30: Array access: Offset: [0, 64] Size: 64 by call to `dequant` 
  292.             return -1;
  293.         }
  294.         dst[scantab[pos]] = (level_buf[coeff_num]*mul + round) >> shift;
                                    ^
  295.     }
  296.     return 0;
