]> granicus.if.org Git - handbrake/commitdiff
encx264: fix hb_dict_init call.
authorRodeo <tdskywalker@gmail.com>
Sun, 5 Apr 2015 19:18:49 +0000 (19:18 +0000)
committerRodeo <tdskywalker@gmail.com>
Sun, 5 Apr 2015 19:18:49 +0000 (19:18 +0000)
Was broken since revision 6981.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7058 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/encx264.c

index d64e56547444e4fefb7e30117cf7a948c0c73418..ce7018278f5058103eafb85905a237050db5b100 100644 (file)
@@ -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");
     }