hwcontext_opencl: Remove the opencl_device_init in opencl_device_derive
authorJun Zhao <mypopydev@gmail.com>
Wed, 20 Jun 2018 03:13:59 +0000 (11:13 +0800)
committerJun Zhao <jun.zhao@intel.com>
Thu, 28 Jun 2018 21:23:20 +0000 (05:23 +0800)
commite6ac328b79f42be2c92e8abec458e4b3a32c44f9
tree238f8d0b6f1e491af674030b8aff48103d79241f
parent2730a0fdf47c6ecbb6029d2b0dc47a27b377bcee
hwcontext_opencl: Remove the opencl_device_init in opencl_device_derive

In opencl device derived case, don't need to call opencl_device_init.

Signed-off-by: Jun Zhao <mypopydev@gmail.com>
libavutil/hwcontext_opencl.c