10l: wrong pointer was initialized (causes crash during startup).
author |
voroshil |
date |
Mon, 30 Jul 2007 17:31:54 +0000 |
parents |
18b221617eca |
children |
ec8ca7b30d0f |
files |
stream/tvi_bsdbt848.c stream/tvi_v4l.c |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
line diff
--- a/stream/tvi_bsdbt848.c Mon Jul 30 17:19:16 2007 +0000
+++ b/stream/tvi_bsdbt848.c Mon Jul 30 17:31:54 2007 +0000
@@ -211,7 +211,7 @@
else
priv->dspdev = strdup(tv_param->adevice);
- tvh->tv_param=tv_param;
+ priv->tv_param=tv_param;
return tvh;
}
--- a/stream/tvi_v4l.c Mon Jul 30 17:19:16 2007 +0000
+++ b/stream/tvi_v4l.c Mon Jul 30 17:31:54 2007 +0000
@@ -300,7 +300,7 @@
return(NULL);
}
- h->tv_param=tv_param;
+ priv->tv_param=tv_param;
return(h);
}