mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-26 20:50:34 +00:00
lavu/hwcontext_opencl.h: fix build on macOS
This commit is contained in:
parent
5f67073b4c
commit
1204ce0b63
@ -19,7 +19,11 @@
|
||||
#ifndef AVUTIL_HWCONTEXT_OPENCL_H
|
||||
#define AVUTIL_HWCONTEXT_OPENCL_H
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenCL/cl.h>
|
||||
#else
|
||||
#include <CL/cl.h>
|
||||
#endif
|
||||
|
||||
#include "frame.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user