libavformat/dv.c:439: error: Buffer Overrun L2
  Offset: [0, 7] Size: 3 by call to `dv_produce_packet`.

libavformat/dv.c:436:13: Call
434.             return AVERROR(EIO);
435.         size = c->dv_demux->sys->frame_size;
436.         if (get_buffer(s->pb, c->buf, size) <= 0)
                 ^
437.             return AVERROR(EIO);
438. 

libavformat/aviobuf.c:377:1: Parameter `*buf`
  375. }
  376. 
  377. int get_buffer(ByteIOContext *s, unsigned char *buf, int size)
       ^
  378. {
  379.     int len, size1;

libavformat/dv.c:439:16: Call
437.             return AVERROR(EIO);
438. 
439.         size = dv_produce_packet(c->dv_demux, pkt, c->buf, size);
                    ^
440.     }
441. 

libavformat/dv.c:317:1: Parameter `*buf`
  315. }
  316. 
  317. int dv_produce_packet(DVDemuxContext *c, AVPacket *pkt,
       ^
  318.                       uint8_t* buf, int buf_size)
  319. {

libavformat/dv.c:324:20: Call
  322. 
  323.     if (buf_size < DV_PROFILE_BYTES ||
  324.         !(c->sys = dv_frame_profile(buf)) ||
                          ^
  325.         buf_size < c->sys->frame_size) {
  326.           return -1;   /* Broken frame, or not enough data */

libavcodec/dvdata.h:701:1: Parameter `*frame`
    699. #define DV_MAX_BPM 8
    700. 
    701. static inline const DVprofile* dv_frame_profile(const uint8_t* frame)
         ^
    702. {
    703.    int i;

libavformat/dv.c:337:5: Call
  335.        ppcm[i] = c->audio_buf[i];
  336.     }
  337.     dv_extract_audio(buf, ppcm, c->sys);
           ^
  338.     c->abytes += size;
  339. 

libavformat/dv.c:102:1: <Offset trace>
100.  *    are converted into 16bit linear ones.
101.  */
102. static int dv_extract_audio(uint8_t* frame, uint8_t* ppcm[4],
     ^
103.                             const DVprofile *sys)
104. {

libavformat/dv.c:102:1: Parameter `*frame`
    100.  *    are converted into 16bit linear ones.
    101.  */
    102. static int dv_extract_audio(uint8_t* frame, uint8_t* ppcm[4],
         ^
    103.                             const DVprofile *sys)
    104. {

libavformat/dv.c:110:15: Call
    108.     uint8_t *pcm, ipcm;
    109. 
    110.     as_pack = dv_extract_pack(frame, dv_audio_source);
                       ^
    111.     if (!as_pack)    /* No audio ? */
    112.         return 0;

libavformat/dv.c:73:1: Parameter `t`
      71.  * to have a fallback mechanism for complete search of missing packs.
      72.  */
      73. static const uint8_t* dv_extract_pack(uint8_t* frame, enum dv_pack_type t)
          ^
      74. {
      75.     int offs;

libavformat/dv.c:115:5: Assignment
    113. 
    114.     smpls =  as_pack[1] & 0x3f;       /* samples in this frame - min. samples */
    115.     freq  = (as_pack[4] >> 3) & 0x07; /* 0 - 48kHz, 1 - 44,1kHz, 2 - 32kHz */
             ^
    116.     quant =  as_pack[4] & 0x07;       /* 0 - 16bit linear, 1 - 12bit nonlinear */
    117. 

libavformat/dv.c:102:1: <Length trace>
100.  *    are converted into 16bit linear ones.
101.  */
102. static int dv_extract_audio(uint8_t* frame, uint8_t* ppcm[4],
     ^
103.                             const DVprofile *sys)
104. {

libavformat/dv.c:102:1: Parameter `sys->audio_min_samples[*]`
    100.  *    are converted into 16bit linear ones.
    101.  */
    102. static int dv_extract_audio(uint8_t* frame, uint8_t* ppcm[4],
         ^
    103.                             const DVprofile *sys)
    104. {

libavformat/dv.c:121:13: Array access: Offset: [0, 7] Size: 3 by call to `dv_produce_packet` 
    119.         return -1; /* unsupported quantization */
    120. 
    121.     size = (sys->audio_min_samples[freq] + smpls) * 4; /* 2ch, 2bytes */
                     ^
    122.     half_ch = sys->difseg_size / 2;
    123. 
