reset startcode to avoid spurios data when restarting

This commit is contained in:
Andreas Öman 2007-11-22 20:27:15 +00:00
parent 84d4b65f43
commit c8de40dd03

1
v4l.c
View file

@ -176,6 +176,7 @@ v4l_stop(th_v4l_adapter_t *tva)
close(dispatch_delfd(tva->tva_dispatch_handle));
tva->tva_dispatch_handle = NULL;
}
tva->tva_startcode = 0;
}