mirror of https://git.ffmpeg.org/ffmpeg.git
Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit"
Fixed build with opencl enabled Found-by: WJ Liu This reverts commit0f2359b869
. (cherry picked from commitebd59d271c
)
This commit is contained in:
parent
6bf31ae3f9
commit
491c4bbb38
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue