summaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
Diffstat (limited to 'vhook')
-rw-r--r--vhook/ppm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhook/ppm.c b/vhook/ppm.c
index 6ebfe47524..d9986c81fb 100644
--- 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 ] );