]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
reset startcode to avoid spurios data when restarting
authorAndreas Öman <andreas@lonelycoder.com>
Thu, 22 Nov 2007 20:27:15 +0000 (20:27 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Thu, 22 Nov 2007 20:27:15 +0000 (20:27 +0000)
v4l.c

diff --git a/v4l.c b/v4l.c
index 8044bc6c29d950ab2ab3776e9c6038f1afc677c0..0072d63182b9174b6f4bea03360a31149b6a4eda 100644 (file)
--- a/v4l.c
+++ b/v4l.c
@@ -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;
 }