projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc35f5
)
Check the allocated pointer instead of the given pointer as intended
author
Erik Hovland
<erik@hovland.org>
Mon, 21 Jul 2008 05:46:56 +0000
(
05:46
+0000)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 21 Jul 2008 05:46:56 +0000
(
05:46
+0000)
in vhook/ppm.c:Configure.
patch by Erik Hovland, erik hovland org
Originally committed as revision 14321 to svn://svn.ffmpeg.org/ffmpeg/trunk
vhook/ppm.c
patch
|
blob
|
history
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 ] );