mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Fix compile error on Linux platform and use c++ style header file(<cstddef> instead of <stddef.h>)
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
#include "audio_encoder.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <chrono>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
|
||||
#include "log.h"
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
#ifndef _VIDEO_DECODER_H_
|
||||
#define _VIDEO_DECODER_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <functional>
|
||||
|
||||
#include "video_frame.h"
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
#ifndef _VIDEO_ENCODER_H_
|
||||
#define _VIDEO_ENCODER_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <functional>
|
||||
|
||||
class VideoEncoder {
|
||||
|
||||
Reference in New Issue
Block a user