From b6981e9b1d2d658a4faaec2e4f92cb9ae386bad8 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Wed, 13 Apr 2016 12:39:13 -0600 Subject: [PATCH] qsv_filter: fix crash when unpacking crop parameters --- libhb/qsv_filter.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libhb/qsv_filter.c b/libhb/qsv_filter.c index 3d0858154..56116fbd2 100644 --- a/libhb/qsv_filter.c +++ b/libhb/qsv_filter.c @@ -355,10 +355,10 @@ static int hb_qsv_filter_init( hb_filter_object_t * filter, hb_dict_extract_int(&pv->width_out, filter->settings, "width"); hb_dict_extract_int(&pv->height_out, filter->settings, "height"); - hb_dict_extract_int(pv->crop[0], filter->settings, "crop-top"); - hb_dict_extract_int(pv->crop[1], filter->settings, "crop-bottom"); - hb_dict_extract_int(pv->crop[2], filter->settings, "crop-left"); - hb_dict_extract_int(pv->crop[3], filter->settings, "crop-right"); + hb_dict_extract_int(&pv->crop[0], filter->settings, "crop-top"); + hb_dict_extract_int(&pv->crop[1], filter->settings, "crop-bottom"); + hb_dict_extract_int(&pv->crop[2], filter->settings, "crop-left"); + hb_dict_extract_int(&pv->crop[3], filter->settings, "crop-right"); hb_dict_extract_bool(&pv->deinterlace, filter->settings, "deinterlace"); pv->job = init->job; -- 2.40.0