From: Andreas Ă–man Date: Thu, 22 Nov 2007 20:27:15 +0000 (+0000) Subject: reset startcode to avoid spurios data when restarting X-Git-Tag: 2.12~1359 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8de40dd030d62e563e361d7bbefb539a71e9a1e;p=thirdparty%2Ftvheadend.git reset startcode to avoid spurios data when restarting --- diff --git a/v4l.c b/v4l.c index 8044bc6c2..0072d6318 100644 --- 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; }