From 31c5b3cc3d0ec507c5281e73de038b417c8c3b73 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 23 Apr 2014 17:03:39 +0200 Subject: [PATCH] Fix the missing ccerr initialization in ts_recv_packet0 --- src/input/mpegts/tsdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/mpegts/tsdemux.c b/src/input/mpegts/tsdemux.c index 5010e456..06b4ee2f 100644 --- a/src/input/mpegts/tsdemux.c +++ b/src/input/mpegts/tsdemux.c @@ -76,6 +76,7 @@ ts_recv_packet0 if (!st) return; + ccerr = 0; error = !!(tsb[1] & 0x80); pusi = !!(tsb[1] & 0x40);