diff options
author | ryoon <ryoon@pkgsrc.org> | 2016-03-05 08:52:23 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2016-03-05 08:52:23 +0000 |
commit | 135519782a987ef2e7e897e1b3d4c13fe33b17aa (patch) | |
tree | e3b48b04eda5973bf0d94ed9416e2ad360ffc694 /multimedia/ffmpeg3/patches/patch-libavutil_opencl.c | |
parent | bbde267b847ee1a1b0f84152afd2a553740764ab (diff) | |
download | pkgsrc-135519782a987ef2e7e897e1b3d4c13fe33b17aa.tar.gz |
Import ffmpeg3-3.0 as multimedia/ffmpeg3.
FFmpeg is a complete, cross-platform solution to record, convert
and stream audio and video. It includes libavcodec - the leading
audio/video codec library.
This package contains major version 3.
Diffstat (limited to 'multimedia/ffmpeg3/patches/patch-libavutil_opencl.c')
-rw-r--r-- | multimedia/ffmpeg3/patches/patch-libavutil_opencl.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/multimedia/ffmpeg3/patches/patch-libavutil_opencl.c b/multimedia/ffmpeg3/patches/patch-libavutil_opencl.c new file mode 100644 index 00000000000..5aedb9f5519 --- /dev/null +++ b/multimedia/ffmpeg3/patches/patch-libavutil_opencl.c @@ -0,0 +1,15 @@ +$NetBSD: patch-libavutil_opencl.c,v 1.1 2016/03/05 08:52:23 ryoon Exp $ + +Fix undeclared identifier error. + +--- libavutil/opencl.c.orig 2016-02-15 02:29:42.000000000 +0000 ++++ libavutil/opencl.c +@@ -453,7 +453,7 @@ cl_program av_opencl_compile(const char + char *log = NULL; + + LOCK_OPENCL; +- for (i = 0; i < opencl_ctx.kernel_code_count; i++) { ++ for (int i = 0; i < opencl_ctx.kernel_code_count; i++) { + // identify a program using a unique name within the kernel source + ptr = av_stristr(opencl_ctx.kernel_code[i].kernel_string, program_name); + if (ptr && !opencl_ctx.kernel_code[i].is_compiled) { |