From 7e06f7301c418a7faec4f9ec9703322cbb4ab1d7 Mon Sep 17 00:00:00 2001 From: Rodeo <tdskywalker@gmail.com> Date: Sun, 5 Apr 2015 19:18:49 +0000 Subject: [PATCH] encx264: fix hb_dict_init call. Was broken since revision 6981. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7058 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encx264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/encx264.c b/libhb/encx264.c index d64e56547..ce7018278 100644 --- a/libhb/encx264.c +++ b/libhb/encx264.c @@ -1151,7 +1151,7 @@ char * hb_x264_param_unparse(const char *x264_preset, const char *x264_tune, /* * if x264_encopts is NULL, x264_opts wasn't initialized */ - if (x264_opts == NULL && (x264_opts = hb_dict_init(20)) == NULL) + if (x264_opts == NULL && (x264_opts = hb_dict_init()) == NULL) { return strdup("hb_x264_param_unparse: could not initialize hb_dict_t"); } -- 2.40.0