[FFmpeg-cvslog] Revert "avutil/opencl: is_compiled flag not being cleared in av_opencl_uninit"
Michael Niedermayer
git at videolan.org
Sat Mar 7 13:47:59 CET 2015
ffmpeg | branch: release/2.6 | Michael Niedermayer <michaelni at gmx.at> | Sat Mar 7 09:59:27 2015 +0100| [28950d1f8ccb2d4925004dc3f4dc5399f9fd0101] | committer: Michael Niedermayer
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 at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=28950d1f8ccb2d4925004dc3f4dc5399f9fd0101
---
libavutil/opencl.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavutil/opencl.c b/libavutil/opencl.c
index a3866ca..36cb6fe 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)
More information about the ffmpeg-cvslog
mailing list