libavcodec/vmdav.c:390: error: Buffer Overrun L3
  Offset added: 1024 Size: [0, +oo].

libavcodec/vmdav.c:387:5: <Length trace>
385.     }
386. 
387.     vmd_decode(s);
         ^
388. 
389.     /* make the palette available on the way out */

libavcodec/vmdav.c:387:5: Call
385.     }
386. 
387.     vmd_decode(s);
         ^
388. 
389.     /* make the palette available on the way out */

libavcodec/vmdav.c:185:1: Parameter `s->palette[*]`
  183. }
  184. 
  185. static void vmd_decode(VmdVideoContext *s)
       ^
  186. {
  187.     int i;

libavcodec/vmdav.c:390:5: Array access: Offset added: 1024 Size: [0, +oo]
388. 
389.     /* make the palette available on the way out */
390.     memcpy(s->frame.data[1], s->palette, PALETTE_COUNT * 4);
         ^
391. 
392.     /* shuffle frames */
