FPMT: Fix extraction of frame size of a parallel frame
Fixed the extraction of frame size of a parallel frame during its actual
encode call.
Change-Id: I94d3bb148a5ba4e0fddc4222a2b55aa5adfe43e5
diff --git a/av1/encoder/encoder.c b/av1/encoder/encoder.c
index 5a2d315..08a985c 100644
--- a/av1/encoder/encoder.c
+++ b/av1/encoder/encoder.c
@@ -4455,7 +4455,7 @@
first_cpi_data->ts_frame_start = data->ts_frame_start;
first_cpi_data->ts_frame_end = data->ts_frame_end;
memcpy(first_cpi_data->cx_data, data->cx_data, data->frame_size);
- first_cpi_data->frame_size += data->frame_size;
+ first_cpi_data->frame_size = data->frame_size;
if (ppi->cpi->common.show_frame) {
first_cpi_data->pop_lookahead = 1;
}