mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-02-18 02:55:46 +00:00
reduced preallocated us_frame_s size
This commit is contained in:
parent
36b539c275
commit
b2b1989c5b
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user