Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113879
b: refs/heads/master
c: 08ebd00
h: refs/heads/master
i:
  113877: fba7daf
  113875: fd27622
  113871: e5700ed
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Oct 12, 2008
1 parent 2d0c768 commit 8a8aa58
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 22b88d48a08e334d36218ca166749c4e6d644f0c
refs/heads/master: 08ebd003d90955d78b58bb348a098fee301b8a82
5 changes: 3 additions & 2 deletions trunk/drivers/media/video/uvc/uvc_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,8 @@ static void uvc_video_decode_isoc(struct urb *urb,
urb->iso_frame_desc[i].actual_length - ret);

/* Process the header again. */
uvc_video_decode_end(video, buf, mem, ret);
uvc_video_decode_end(video, buf, mem,
urb->iso_frame_desc[i].actual_length);

if (buf->state == UVC_BUF_STATE_DONE ||
buf->state == UVC_BUF_STATE_ERROR)
Expand Down Expand Up @@ -512,7 +513,7 @@ static void uvc_video_decode_bulk(struct urb *urb,
video->bulk.payload_size >= video->bulk.max_payload_size) {
if (!video->bulk.skip_payload && buf != NULL) {
uvc_video_decode_end(video, buf, video->bulk.header,
video->bulk.header_size);
video->bulk.payload_size);
if (buf->state == UVC_BUF_STATE_DONE ||
buf->state == UVC_BUF_STATE_ERROR)
buf = uvc_queue_next_buffer(&video->queue, buf);
Expand Down

0 comments on commit 8a8aa58

Please sign in to comment.