libavformat/img2.c:269: error: Buffer Overrun L3
  Offset: [-1, +oo] Size: 1024.

libavformat/img2.c:245:1: <Offset trace>
243. }
244. 
245. static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
     ^
246. {
247.     VideoData *s = s1->priv_data;

libavformat/img2.c:245:1: Array declaration
243. }
244. 
245. static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
     ^
246. {
247.     VideoData *s = s1->priv_data;

libavformat/img2.c:245:1: <Length trace>
243. }
244. 
245. static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
     ^
246. {
247.     VideoData *s = s1->priv_data;

libavformat/img2.c:245:1: Array declaration
243. }
244. 
245. static int img_read_packet(AVFormatContext *s1, AVPacket *pkt)
     ^
246. {
247.     VideoData *s = s1->priv_data;

libavformat/img2.c:269:13: Array access: Offset: [-1, +oo] Size: 1024
267.             if(codec->codec_id != CODEC_ID_RAWVIDEO)
268.                 break;
269.             filename[ strlen(filename) - 1 ]= 'U' + i;
                 ^
270.         }
271. 
