summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/decvobsub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/decvobsub.c b/libhb/decvobsub.c
index 9a9b50a19..3c52596d1 100644
--- a/libhb/decvobsub.c
+++ b/libhb/decvobsub.c
@@ -433,6 +433,7 @@ static void resample( uint8_t * dst, uint8_t * src, int dst_w, int src_w )
{
// sample down
err = 0;
+ sum = 0;
val = 0;
cnt = 0;
err = src_w / 2;