Avoid C99 variable declarations within for statements.
[ffmpeg.git] / libavdevice / dv1394.h
index 5ccc68a..fc4df24 100644 (file)
          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();
               }
          }