       jpeg_size += i;
     }
     temp=0;temp_last=0;
+    is_header == false;
     remnant = (4 - (jpeg_size & 0x00000003)) & 0x00000003;
     jpeg_size = jpeg_size + remnant;
     movi_size = movi_size + jpeg_size;

#endif

#define AVIOFFSET 240
unsigned long movi_size = 0;
unsigned long jpeg_size = 0;
const char zero_buf[4] = {0x00, 0x00, 0x00, 0x00};

    Serial.println("SD Card detected!");
}
void loop(){
  Video2SD();
  delay(5000);

}
