libavdevice/v4l2.c:566: error: Buffer Overrun L3
  Offset: [-1, 1] Size: 40 by call to `avpicture_get_size`.

libavdevice/v4l2.c:519:5: Call
517.         return AVERROR(ENOMEM);
518.     }
519.     av_set_pts_info(st, 64, 1, 1000000); /* 64 bits pts in us */
         ^
520. 
521.     s->width = width;

libavformat/utils.c:3039:1: Parameter `pts_num`
  3037. }
  3038. 
  3039. void av_set_pts_info(AVStream *s, int pts_wrap_bits,
        ^
  3040.                      int pts_num, int pts_den)
  3041. {

libavformat/utils.c:3043:5: Assignment
  3041. {
  3042.     s->pts_wrap_bits = pts_wrap_bits;
  3043.     s->time_base.num = pts_num;
            ^
  3044.     s->time_base.den = pts_den;
  3045. }

libavdevice/v4l2.c:565:26: Call
563.         return AVERROR(EIO);
564. 
565.     st->codec->pix_fmt = fmt_v4l2ff(desired_format);
                              ^
566.     s->frame_size = avpicture_get_size(st->codec->pix_fmt, width, height);
567.     if (capabilities & V4L2_CAP_STREAMING) {

libavdevice/v4l2.c:226:5: Assignment
  224.     }
  225. 
  226.     return -1;
           ^
  227. }
  228. 

libavdevice/v4l2.c:565:5: Assignment
563.         return AVERROR(EIO);
564. 
565.     st->codec->pix_fmt = fmt_v4l2ff(desired_format);
         ^
566.     s->frame_size = avpicture_get_size(st->codec->pix_fmt, width, height);
567.     if (capabilities & V4L2_CAP_STREAMING) {

libavdevice/v4l2.c:566:21: Call
564. 
565.     st->codec->pix_fmt = fmt_v4l2ff(desired_format);
566.     s->frame_size = avpicture_get_size(st->codec->pix_fmt, width, height);
                         ^
567.     if (capabilities & V4L2_CAP_STREAMING) {
568.         s->io_method = io_mmap;

libavcodec/imgconvert.c:670:1: Parameter `pix_fmt`
  668. }
  669. 
  670. int avpicture_get_size(int pix_fmt, int width, int height)
       ^
  671. {
  672.     AVPicture dummy_pict;

libavcodec/imgconvert.c:673:12: Call
  671. {
  672.     AVPicture dummy_pict;
  673.     return avpicture_fill(&dummy_pict, NULL, pix_fmt, width, height);
                  ^
  674. }
  675. 

libavcodec/imgconvert.c:604:1: Parameter `pix_fmt`
    602. }
    603. 
    604. int avpicture_fill(AVPicture *picture, uint8_t *ptr,
         ^
    605.                    int pix_fmt, int width, int height)
    606. {

libavcodec/imgconvert.c:611:9: Call
    609.         return -1;
    610. 
    611.     if (ff_fill_linesize(picture, pix_fmt, width))
                 ^
    612.         return -1;
    613. 

libavcodec/imgconvert.c:429:1: <Offset trace>
427. }
428. 
429. int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width)
     ^
430. {
431.     int w2;

libavcodec/imgconvert.c:429:1: Parameter `pix_fmt`
      427. }
      428. 
      429. int ff_fill_linesize(AVPicture *picture, int pix_fmt, int width)
           ^
      430. {
      431.     int w2;

libavcodec/imgconvert.c:65:1: <Length trace>
63. 
64. /* this table gives more information about formats */
65. static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
    ^
66.     /* YUV formats */
67.     [PIX_FMT_YUV420P] = {

libavcodec/imgconvert.c:65:1: Array declaration
      63. 
      64. /* this table gives more information about formats */
      65. static const PixFmtInfo pix_fmt_info[PIX_FMT_NB] = {
          ^
      66.     /* YUV formats */
      67.     [PIX_FMT_YUV420P] = {

libavcodec/imgconvert.c:436:5: Array access: Offset: [-1, 1] Size: 40 by call to `avpicture_get_size` 
      434.     memset(picture->linesize, 0, sizeof(picture->linesize));
      435. 
      436.     pinfo = &pix_fmt_info[pix_fmt];
               ^
      437.     switch(pix_fmt) {
      438.     case PIX_FMT_YUV420P:
