summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-13 21:01:45 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-13 21:08:43 +0100
commit16b771b1f47daa9fec84477040984d83a92ba4a6 (patch)
treee48b9580b9e342f26005a3e96bf430d39cb4d289 /libavdevice
parentb39e01a6e887745192da8c105ffac1f297b00da9 (diff)
cleanup: for(int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/dv1394.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavdevice/dv1394.h b/libavdevice/dv1394.h
index 00706f7541..1bab0314c5 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();
}
}