Skip to content

Commit

Permalink
Compile fix, closes #170
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonliam committed Oct 21, 2018
1 parent 75c6c4a commit 2b751f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c
Expand Up @@ -966,7 +966,8 @@ int setResolution(struct vdIn *vd, int width, int height)
}

DBG("Unmap buffers\n");
for (int i = 0; i < NB_BUFFER; i++) {
int i;
for (i = 0; i < NB_BUFFER; i++) {
munmap(vd->mem[i], vd->buf.length);
}

Expand Down

0 comments on commit 2b751f1

Please sign in to comment.