summaryrefslogtreecommitdiffstats
path: root/libhb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2012-06-22 20:07:37 +0000
committerjstebbins <[email protected]>2012-06-22 20:07:37 +0000
commitc435d481a1e715ff7252df698c3bd073c016d71f (patch)
treedec2a4a704fa1fad5ad71127bb96eb0cea67575f /libhb
parentef21bf7594b3fbb94809ac6c30b3ceeeff40413c (diff)
libhb: fix crash in denoise filter
This was introduced in the filter rework patch, so it's not a problem in the bugfix branch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4767 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb')
-rw-r--r--libhb/denoise.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libhb/denoise.c b/libhb/denoise.c
index dfc58863d..7200b8e00 100644
--- a/libhb/denoise.c
+++ b/libhb/denoise.c
@@ -399,7 +399,7 @@ static int hb_denoise_work( hb_filter_object_t * filter,
out->plane[0].data,
pv->hqdn3d_line,
&pv->hqdn3d_frame[0],
- in->plane[0].stride,
+ in->plane[0].width,
in->plane[0].height,
pv->hqdn3d_coef[0],
pv->hqdn3d_coef[0],
@@ -409,7 +409,7 @@ static int hb_denoise_work( hb_filter_object_t * filter,
out->plane[1].data,
pv->hqdn3d_line,
&pv->hqdn3d_frame[1],
- in->plane[1].stride,
+ in->plane[1].width,
in->plane[1].height,
pv->hqdn3d_coef[2],
pv->hqdn3d_coef[2],
@@ -419,7 +419,7 @@ static int hb_denoise_work( hb_filter_object_t * filter,
out->plane[2].data,
pv->hqdn3d_line,
&pv->hqdn3d_frame[2],
- in->plane[2].stride,
+ in->plane[2].width,
in->plane[2].height,
pv->hqdn3d_coef[2],
pv->hqdn3d_coef[2],