OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad2296a
)
cmdutils_opencl: Fix read of uninitialized pointer
author
Michael Niedermayer
<michael@niedermayer.cc>
Mon, 17 Apr 2017 01:23:55 +0000
(
03:23
+0200)
committer
Michael Niedermayer
<michael@niedermayer.cc>
Thu, 11 May 2017 11:02:12 +0000
(13:02 +0200)
Fixes: CID1396856
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
cmdutils_opencl.c
patch
|
blob
|
history
diff --git
a/cmdutils_opencl.c
b/cmdutils_opencl.c
index
655d1c9
..
f141d1e
100644
(file)
--- a/
cmdutils_opencl.c
+++ b/
cmdutils_opencl.c
@@
-129,7
+129,7
@@
static int64_t run_opencl_bench(AVOpenCLExternalEnv *ext_opencl_env)
cl_int status;
size_t kernel_len;
char *inbuf;
- int *mask;
+ int *mask
= NULL
;
int buf_size = width * height * sizeof(char);
int mask_size = sizeof(uint32_t) * 128;