summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2015-03-07 09:59:27 +0100
committerJames Almer <[email protected]>2015-03-09 14:32:51 -0300
commit491c4bbb38adb8614acbe17726508267f65939cb (patch)
treeadd4cc268bc5445d308fc8d1dec6af1e1fdaa8c9
parent6bf31ae3f9295c7df6aac8fdde6c8f9c80723c58 (diff)
Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit"
Fixed build with opencl enabled Found-by: WJ Liu This reverts commit 0f2359b86926ed33da4bd64ca76d84d03d5ad380. (cherry picked from commit ebd59d271c24601e08c3569681b129cd27bf4070)
-rw-r--r--libavutil/opencl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index f80cde7001..0b4f83b910 100644
--- a/libavutil/opencl.c
+++ b/libavutil/opencl.c
@@ -633,9 +633,6 @@ void av_opencl_uninit(void)
}
opencl_ctx.context = NULL;
}
- for (i = 0; i < opencl_ctx.kernel_code_count; i++) {
- opencl_ctx.kernel_code[i].is_compiled = 0;
- }
free_device_list(&opencl_ctx.device_list);
end:
if (opencl_ctx.init_count <= 0)