diff options
author | Xu Jun <xujunzz@sjtu.edu.cn> | 2020-09-16 18:07:17 +0800 |
---|---|---|
committer | Guo, Yejun <yejun.guo@intel.com> | 2020-09-17 08:45:23 +0800 |
commit | 8e67ae2cb4cb6785bbaa6a5d4bbbacd035cfd027 (patch) | |
tree | fda4214a1373ace7e56b85e7814a92f5c32cff72 /libswscale/log2_tab.c | |
parent | a265e6604eb411316ec7ec91ba1bfaa37c71ef2d (diff) | |
download | ffmpeg-8e67ae2cb4cb6785bbaa6a5d4bbbacd035cfd027.tar.gz |
dnn_backend_native_layer_conv2d.c: fix memory allocation bug in multithread function.
Before patch, memory was allocated in each thread functions,
which may cause more than one time of memory allocation and
cause crash.
After patch, memory is allocated in the main thread once,
an index was parsed into thread functions. Bug fixed.
Signed-off-by: Xu Jun <xujunzz@sjtu.edu.cn>
Diffstat (limited to 'libswscale/log2_tab.c')
0 files changed, 0 insertions, 0 deletions