mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
hwcontext_opencl: Avoid deprecation warnings when built with post-1.2 headers
Matching the previous commit. This is not applied to the installed header because it could incorrectly suppress the warning inside user programs.
This commit is contained in:
parent
0568af521e
commit
9313422dfc
@ -16,6 +16,8 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "config.h"
|
||||
|
Loading…
Reference in New Issue
Block a user