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

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

libavcodec/dxa.c:273:9: Call
271.         c->pic.key_frame = 0;
272.         c->pic.pict_type = AV_PICTURE_TYPE_P;
273.         decode_13(avctx, c, c->pic.data[0], srcptr, c->prev.data[0]);
             ^
274.         break;
275.     default:

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

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

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

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

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

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

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