From 16b771b1f47daa9fec84477040984d83a92ba4a6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 13 Dec 2011 21:01:45 +0100 Subject: cleanup: for(int Signed-off-by: Michael Niedermayer --- libavdevice/dv1394.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavdevice') 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(); } } -- cgit v1.2.3