libavcodec/dxa.c:270: error: Buffer Overrun L3
  Offset: [-8, 5] Size: 6 by call to `decode_13`.

libavcodec/dxa.c:215:8: Unknown value from: non-const function
213.     }
214. 
215.     if(avctx->get_buffer(avctx, &c->pic) < 0){
            ^
216.         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
217.         return -1;

libavcodec/dxa.c:270:9: Call
268.         c->pic.key_frame = 0;
269.         c->pic.pict_type = FF_P_TYPE;
270.         decode_13(avctx, c, c->pic.data[0], srcptr, c->prev.data[0]);
             ^
271.         break;
272.     default:

libavcodec/dxa.c:49:1: <Offset trace>
47. static const int shift2[6] = { 0, 0, 8, 4, 0, 4 };
48. 
49. static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst, uint8_t *src, uint8_t *ref)
    ^
50. {
51.     uint8_t *code, *data, *mv, *msk, *tmp, *tmp2;

libavcodec/dxa.c:49:1: Parameter `*src`
  47. static const int shift2[6] = { 0, 0, 8, 4, 0, 4 };
  48. 
  49. static int decode_13(AVCodecContext *avctx, DxaDecContext *c, uint8_t* dst, uint8_t *src, uint8_t *ref)
      ^
  50. {
  51.     uint8_t *code, *data, *mv, *msk, *tmp, *tmp2;

libavcodec/dxa.c:66:13: Assignment
  64.             tmp  = dst + i;
  65.             tmp2 = ref + i;
  66.             type = *code++;
                  ^
  67.             switch(type){
  68.             case 4: // motion compensation

libavcodec/dxa.c:91:21: Assignment
  89.                     msk += 2;
  90.                 }else{
  91.                     type -= 10;
                          ^
  92.                     mask = ((msk[0] & 0xF0) << shift1[type]) | ((msk[0] & 0xF) << shift2[type]);
  93.                     msk++;

libavcodec/dxa.c:46:1: <Length trace>
44. } DxaDecContext;
45. 
46. static const int shift1[6] = { 0, 8, 8, 8, 4, 4 };
    ^
47. static const int shift2[6] = { 0, 0, 8, 4, 0, 4 };
48. 

libavcodec/dxa.c:46:1: Array declaration
  44. } DxaDecContext;
  45. 
  46. static const int shift1[6] = { 0, 8, 8, 8, 4, 4 };
      ^
  47. static const int shift2[6] = { 0, 0, 8, 4, 0, 4 };
  48. 

libavcodec/dxa.c:92:48: Array access: Offset: [-8, 5] Size: 6 by call to `decode_13` 
  90.                 }else{
  91.                     type -= 10;
  92.                     mask = ((msk[0] & 0xF0) << shift1[type]) | ((msk[0] & 0xF) << shift2[type]);
                                                     ^
  93.                     msk++;
  94.                 }
