summaryrefslogtreecommitdiffstats
path: root/stream/tvi_v4l2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/tvi_v4l2.c')
-rw-r--r--stream/tvi_v4l2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c
index 4bdf4c499d..7f528d65e5 100644
--- a/stream/tvi_v4l2.c
+++ b/stream/tvi_v4l2.c
@@ -1068,8 +1068,7 @@ static tvi_handle_t *tvi_init_v4l2(tv_param_t* tv_param)
{
tvi_handle_t *tvi_handle;
- /* new_handle initializes priv with memset 0 */
- tvi_handle = new_handle();
+ tvi_handle = tv_new_handle(sizeof(priv_t), &functions);
if (!tvi_handle) {
return NULL;
}