libavdevice/dv1394.c:203: error: Buffer Overrun L2
  Offset: [0, 7] Size: 3 by call to `dv_produce_packet`.

libavdevice/dv1394.c:171:13: Unknown value from: ioctl
169.         }
170. 
171.         if (ioctl(dv->fd, DV1394_GET_STATUS, &s) < 0) {
                 ^
172.             av_log(context, AV_LOG_ERROR, "Failed to get status: %s\n", strerror(errno));
173.             return AVERROR(EIO);

libavdevice/dv1394.c:203:12: Call
201. #endif
202. 
203.     size = dv_produce_packet(dv->dv_demux, pkt,
                ^
204.                              dv->ring + (dv->index * DV1394_PAL_FRAME_SIZE),
205.                              DV1394_PAL_FRAME_SIZE);

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

libavformat/dv.c:325:20: Call
  323. 
  324.     if (buf_size < DV_PROFILE_BYTES ||
  325.         !(c->sys = dv_frame_profile(c->sys, buf, buf_size)) ||
                          ^
  326.         buf_size < c->sys->frame_size) {
  327.           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
         ^
    702. const DVprofile* dv_frame_profile(const DVprofile *sys,
    703.                                   const uint8_t* frame, unsigned buf_size)

libavformat/dv.c:338:5: Call
  336.        ppcm[i] = c->audio_buf[i];
  337.     }
  338.     dv_extract_audio(buf, ppcm, c->sys);
           ^
  339. 
  340.     /* We work with 720p frames split in half, thus even frames have

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

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

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

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

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

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

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

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