diff options
author | John Stebbins <[email protected]> | 2016-04-13 12:39:13 -0600 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-04-13 12:40:00 -0600 |
commit | b6981e9b1d2d658a4faaec2e4f92cb9ae386bad8 (patch) | |
tree | e4b603700f318560b2b57988eda3dcf4fad59b52 | |
parent | 8be786a08e1368e7420a13b6f8ca99e560f287ff (diff) |
qsv_filter: fix crash when unpacking crop parameters
-rw-r--r-- | libhb/qsv_filter.c | 8 |
1 files 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; |