libavcodec/cavs.c:421: error: Buffer Overrun L2
  Offset: [1, 16] (⇐ 1 + [0, 15]) Size: 2 by call to `mc_part_std`.

libavcodec/cavs.c:413:1: Parameter `h->cdsp.put_cavs_qpel_pixels_tab[*]`
411. }
412. 
413. void ff_cavs_inter(AVSContext *h, enum cavs_mb mb_type) {
     ^
414.     if(ff_cavs_partition_flags[mb_type] == 0){ // 16x16
415.         mc_part_std(h, 8, 0, h->cy, h->cu, h->cv, 0, 0,

libavcodec/cavs.c:421:9: Call
419.                 h->s.dsp.avg_h264_chroma_pixels_tab[0],&h->mv[MV_FWD_X0]);
420.     }else{
421.         mc_part_std(h, 4, 0, h->cy, h->cu, h->cv, 0, 0,
             ^
422.                 h->cdsp.put_cavs_qpel_pixels_tab[1],
423.                 h->s.dsp.put_h264_chroma_pixels_tab[1],

libavcodec/cavs.c:380:1: Parameter `*qpix_put`
  378. }
  379. 
  380. static inline void mc_part_std(AVSContext *h,int chroma_height,int delta,
       ^
  381.                                uint8_t *dest_y,uint8_t *dest_cb,uint8_t *dest_cr,
  382.                                int x_offset, int y_offset,qpel_mc_func *qpix_put,

libavcodec/cavs.c:386:5: Assignment
  384.                                h264_chroma_mc_func chroma_avg, cavs_vector *mv)
  385. {
  386.     qpel_mc_func *qpix_op=  qpix_put;
           ^
  387.     h264_chroma_mc_func chroma_op= chroma_put;
  388. 

libavcodec/cavs.c:397:9: Call
  395.     if(mv->ref >= 0){
  396.         Picture *ref= &h->DPB[mv->ref];
  397.         mc_dir_part(h, ref, chroma_height, delta, 0,
               ^
  398.                     dest_y, dest_cb, dest_cr, x_offset, y_offset,
  399.                     qpix_op, chroma_op, mv);

libavcodec/cavs.c:327:1: <Offset trace>
325.  ****************************************************************************/
326. 
327. static inline void mc_dir_part(AVSContext *h,Picture *pic,
     ^
328.                                int chroma_height,int delta,int list,uint8_t *dest_y,
329.                                uint8_t *dest_cb,uint8_t *dest_cr,int src_x_offset,

libavcodec/cavs.c:327:1: Parameter `src_x_offset`
    325.  ****************************************************************************/
    326. 
    327. static inline void mc_dir_part(AVSContext *h,Picture *pic,
         ^
    328.                                int chroma_height,int delta,int list,uint8_t *dest_y,
    329.                                uint8_t *dest_cb,uint8_t *dest_cr,int src_x_offset,

libavcodec/cavs.c:334:5: Assignment
    332. {
    333.     MpegEncContext * const s = &h->s;
    334.     const int mx= mv->x + src_x_offset*8;
             ^
    335.     const int my= mv->y + src_y_offset*8;
    336.     const int luma_xy= (mx&3) + ((my&3)<<2);

libavcodec/cavs.c:336:5: Assignment
    334.     const int mx= mv->x + src_x_offset*8;
    335.     const int my= mv->y + src_y_offset*8;
    336.     const int luma_xy= (mx&3) + ((my&3)<<2);
             ^
    337.     uint8_t * src_y  = pic->f.data[0] + (mx >> 2) + (my >> 2) * h->l_stride;
    338.     uint8_t * src_cb = pic->f.data[1] + (mx >> 3) + (my >> 3) * h->c_stride;

libavcodec/cavs.c:327:1: <Length trace>
325.  ****************************************************************************/
326. 
327. static inline void mc_dir_part(AVSContext *h,Picture *pic,
     ^
328.                                int chroma_height,int delta,int list,uint8_t *dest_y,
329.                                uint8_t *dest_cb,uint8_t *dest_cr,int src_x_offset,

libavcodec/cavs.c:327:1: Parameter `*qpix_op`
    325.  ****************************************************************************/
    326. 
    327. static inline void mc_dir_part(AVSContext *h,Picture *pic,
         ^
    328.                                int chroma_height,int delta,int list,uint8_t *dest_y,
    329.                                uint8_t *dest_cb,uint8_t *dest_cr,int src_x_offset,

libavcodec/cavs.c:363:5: Array access: Offset: [1, 16] (⇐ 1 + [0, 15]) Size: 2 by call to `mc_part_std` 
    361.     }
    362. 
    363.     qpix_op[luma_xy](dest_y, src_y, h->l_stride); //FIXME try variable height perhaps?
             ^
    364. 
    365.     if(emu){
