mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-16 06:42:12 +08:00
fix qcom decoder compilation on mac with platform check (#36131)
This commit is contained in:
@@ -6,7 +6,10 @@
|
||||
#include "msgq/visionipc/visionbuf.h"
|
||||
#include "tools/replay/filereader.h"
|
||||
#include "tools/replay/util.h"
|
||||
|
||||
#ifndef __APPLE__
|
||||
#include "tools/replay/qcom_decoder.h"
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
@@ -65,6 +68,7 @@ private:
|
||||
AVBufferRef *hw_device_ctx = nullptr;
|
||||
};
|
||||
|
||||
#ifndef __APPLE__
|
||||
class QcomVideoDecoder : public VideoDecoder {
|
||||
public:
|
||||
QcomVideoDecoder() {};
|
||||
@@ -75,3 +79,4 @@ public:
|
||||
private:
|
||||
MsmVidc msm_vidc = MsmVidc();
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user