summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-03-13 19:29:20 +0000
committerRodeo <[email protected]>2015-03-13 19:29:20 +0000
commit600687b0c1be4c35c6b18a37a8fddc1e72f020fc (patch)
tree3ff4ab69ee633401ace210b50ba6c9a355c786a9
parent0e5c1e24b1190922945992ce0ea25171d251de65 (diff)
libhb: fix building with QSV enabled.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6985 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/enc_qsv.c4
1 files changed, 2 insertions, 2 deletions
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);