Commit 79c9d9b1 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by James Almer

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 0f2359b8.

(cherry picked from commit ebd59d27)
parent d0aa3d13
......@@ -611,9 +611,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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment