]> granicus.if.org Git - handbrake/commitdiff
libhb: fix building with QSV enabled.
authorRodeo <tdskywalker@gmail.com>
Fri, 13 Mar 2015 19:29:20 +0000 (19:29 +0000)
committerRodeo <tdskywalker@gmail.com>
Fri, 13 Mar 2015 19:29:20 +0000 (19:29 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6985 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/enc_qsv.c

index c4aca79ff9885041d61c4c3ca411951e7cddf262..8bd5fbcd76fc336e551609c5238f3161be309d43 100644 (file)
@@ -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);