From 600687b0c1be4c35c6b18a37a8fddc1e72f020fc Mon Sep 17 00:00:00 2001 From: Rodeo Date: Fri, 13 Mar 2015 19:29:20 +0000 Subject: libhb: fix building with QSV enabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6985 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/enc_qsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb') diff --git a/libhb/enc_qsv.c b/libhb/enc_qsv.c index c4aca79ff..8bd5fbcd7 100644 --- a/libhb/enc_qsv.c +++ b/libhb/enc_qsv.c @@ -580,9 +580,9 @@ int encqsvInit(hb_work_object_t *w, hb_job_t *job) options_list = hb_encopts_to_dict(job->encoder_options, job->vcodec); hb_dict_iter_t iter; - for (iter = hb_dict_iter_init(x264_opts); + for (iter = hb_dict_iter_init(options_list); iter != HB_DICT_ITER_DONE; - iter = hb_dict_iter_next(x264_opts, iter)) + iter = hb_dict_iter_next(options_list, iter)) { const char *key = hb_dict_iter_key(iter); hb_value_t *value = hb_dict_iter_value(iter); -- cgit v1.2.3