lib: Remove num_stripes from fpi_assemble_frames()

This commit is contained in:
Bastien Nocera
2019-09-05 15:26:16 +02:00
committed by Benjamin Berg
parent 3b480caab1
commit f25d0a0dc9
7 changed files with 15 additions and 38 deletions

View File

@@ -437,8 +437,7 @@ static void capture_read_strip_cb(FpiUsbTransfer *transfer, FpDevice *_dev,
self->strips = g_slist_reverse(self->strips);
fpi_do_movement_estimation(&assembling_ctx, self->strips);
img = fpi_assemble_frames(&assembling_ctx,
self->strips,
self->strips_len);
self->strips);
g_slist_free_full(self->strips, g_free);
self->strips = NULL;
self->strips_len = 0;