Commit 6d817aee authored by Oleg Dzhimiev's avatar Oleg Dzhimiev
Browse files
parents bfb5dcef e7442d13
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -261,9 +261,9 @@ int camogm_frame_jpeg(camogm_state *state)
		}
		close(state->ivf);
	} else {
		fprintf(debug_file, "dump iovect array\n");
		D6(fprintf(debug_file, "dump iovect array\n"));
		for (int i = 0; i < state->chunk_index - 1; i++) {
			fprintf(debug_file, "ptr: %p, length: %ld\n", state->packetchunks[i + 1].chunk, state->packetchunks[i + 1].bytes);
			D6(fprintf(debug_file, "ptr: %p, length: %ld\n", state->packetchunks[i + 1].chunk, state->packetchunks[i + 1].bytes));
		}
		fdata.sensor_port = port;
		fdata.cirbuf_ptr = state->cirbuf_rp[port];