projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check the allocated pointer instead of the given pointer as intended
[ffmpeg.git]
/
vhook
/
ppm.c
diff --git
a/vhook/ppm.c
b/vhook/ppm.c
index
6ebfe47
..
d9986c8
100644
(file)
--- a/
vhook/ppm.c
+++ b/
vhook/ppm.c
@@
-211,7
+211,7
@@
int Configure(void **ctxp, int argc, char *argv[])
if ( argc > 1 )
{
*ctxp = av_mallocz(sizeof(ContextInfo));
- if ( ctxp != NULL && argc > 1 )
+ if (
*
ctxp != NULL && argc > 1 )
{
ContextInfo *info = (ContextInfo *)*ctxp;
info->rw = rwpipe_open( argc - 1, &argv[ 1 ] );