mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-03-23 07:53:43 +00:00
initializing global object in main()
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <bcm_host.h>
|
||||
|
||||
#include "../common/logging.h"
|
||||
#include "../common/frame.h"
|
||||
#include "../memsink/memsink.h"
|
||||
@@ -10,6 +12,8 @@ int main(void) {
|
||||
LOGGING_INIT;
|
||||
log_level = 3;
|
||||
|
||||
bcm_host_init();
|
||||
|
||||
frame_s *src = frame_init("src");
|
||||
frame_s *dest = frame_init("dest");
|
||||
h264_encoder_s *encoder = h264_encoder_init();
|
||||
|
||||
Reference in New Issue
Block a user