1
0

060-fix-sigtrap-in-v4l2uvc.patch 506 B

1234567891011
  1. --- a/plugins/input_uvc/v4l2uvc.c
  2. +++ b/plugins/input_uvc/v4l2uvc.c
  3. @@ -130,7 +130,7 @@ int init_videoIn(struct vdIn *vd, char *
  4. return -1;
  5. }
  6. - memcpy(&pglobal->in[id].in_formats[pglobal->in[id].formatCount], &fmtdesc, sizeof(input_format));
  7. + memcpy(&pglobal->in[id].in_formats[pglobal->in[id].formatCount], &fmtdesc, sizeof(struct v4l2_fmtdesc));
  8. if(fmtdesc.pixelformat == format)
  9. pglobal->in[id].currentFormat = pglobal->in[id].formatCount;