mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-14 03:23:43 +00:00
reduced preallocated us_frame_s size
This commit is contained in:
@@ -36,7 +36,7 @@
|
|||||||
us_frame_s *us_frame_init(void) {
|
us_frame_s *us_frame_init(void) {
|
||||||
us_frame_s *frame;
|
us_frame_s *frame;
|
||||||
US_CALLOC(frame, 1);
|
US_CALLOC(frame, 1);
|
||||||
us_frame_realloc_data(frame, 512 * 1024);
|
us_frame_realloc_data(frame, 32 * 1024);
|
||||||
frame->dma_fd = -1;
|
frame->dma_fd = -1;
|
||||||
return frame;
|
return frame;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user