aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/dv1394.h
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:47:01 +0100
commit834aef341d77d60edef92fe4270f7b1e223bc0a4 (patch)
tree6950a1377d135ee6620c4ccaa34b5789f50bf58d /libavdevice/dv1394.h
parent657737e58d65a1f1c10f1059231592a0a9ad652e (diff)
downloadffmpeg-834aef341d77d60edef92fe4270f7b1e223bc0a4.tar.gz
cleanup: for(int
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 16b771b1f47daa9fec84477040984d83a92ba4a6) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 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();
}
}