diff options
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/dv1394.h | 3 |
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(); } } |