diff options
author | jstebbins <[email protected]> | 2012-05-02 19:51:45 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2012-05-02 19:51:45 +0000 |
commit | abc27a62aadd83e0f67ffae109d86d80b2d626c3 (patch) | |
tree | aaada1660f0be3d003f84e0281ce5279366fa9ed /libhb | |
parent | 9a9da73c3b9c0a21c085e73782acd39f8dc5e36f (diff) |
libhb: fix initialization problem in chroma resampling
may account for https://forum.handbrake.fr/viewtopic.php?f=12&t=24168
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4630 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/decvobsub.c | 1 |
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; |