diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/hb_json.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libhb/hb_json.c b/libhb/hb_json.c index 401607f7b..b25417a60 100644 --- a/libhb/hb_json.c +++ b/libhb/hb_json.c @@ -1269,6 +1269,7 @@ char* hb_get_preview_json(hb_handle_t * h, const char *json_param) av_base64_encode(plane_base64, base64size, image->plane[ii].data, image->plane[ii].size); + base64size = strlen(plane_base64); json_t *plane_dict; plane_dict = json_pack_ex(&error, 0, "{s:o, s:o, s:o, s:o, s:o, s:o}", |