summaryrefslogtreecommitdiffstats
path: root/libhb/decvobsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/decvobsub.c')
-rw-r--r--libhb/decvobsub.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libhb/decvobsub.c b/libhb/decvobsub.c
index 1ddb659ad..862c289da 100644
--- a/libhb/decvobsub.c
+++ b/libhb/decvobsub.c
@@ -468,7 +468,6 @@ static void resample( uint8_t * dst, uint8_t * src, int dst_w, int src_w )
if( dst_w < src_w )
{
// sample down
- err = 0;
sum = 0;
val = 0;
cnt = 0;
@@ -495,7 +494,6 @@ static void resample( uint8_t * dst, uint8_t * src, int dst_w, int src_w )
else
{
// sample up
- err = 0;
err = dst_w / 2;
src_x = 0;
for( dst_x = 0; dst_x < dst_w; dst_x++ )