summaryrefslogtreecommitdiff
path: root/libavdevice/dv1394.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/dv1394.h')
-rw-r--r--libavdevice/dv1394.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/dv1394.h b/libavdevice/dv1394.h
index 5ccc68a259..fc4df24032 100644
--- a/libavdevice/dv1394.h
+++ b/libavdevice/dv1394.h
@@ -175,7 +175,8 @@
if(status.dropped_frames > 0) {
reset_dv1394();
} else {
- for(int i = 0; i < status.n_clear_frames; i++) {
+ int i;
+ for (i = 0; i < status.n_clear_frames; i++) {
copy_DV_frame();
}
}