aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-07 09:59:27 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-07 10:38:07 +0100
commit28950d1f8ccb2d4925004dc3f4dc5399f9fd0101 (patch)
tree6ccaa368ed3adb0a5d81279a971648fe0e228a6d
parent791e0856348410b46cd8efdc5a33d13c8048d3ec (diff)
downloadffmpeg-28950d1f8ccb2d4925004dc3f4dc5399f9fd0101.tar.gz
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) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/opencl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index a3866cae1d..36cb6fe81d 100644
--- a/libavutil/opencl.c
+++ b/libavutil/opencl.c
@@ -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)