From c99843481a02e864f7deaaa36b9f10659d0829b9 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Tue, 19 Mar 2013 17:58:52 +0000 Subject: decutf8sub: cosmetics. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5348 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/decutf8sub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhb/decutf8sub.c b/libhb/decutf8sub.c index 6f17fdeac..ea6440954 100644 --- a/libhb/decutf8sub.c +++ b/libhb/decutf8sub.c @@ -37,7 +37,7 @@ static int decutf8Work(hb_work_object_t * w, { hb_log("decutf8sub: subtitle packet lacks duration"); } - + // We shouldn't be storing the extra NULL character, // but the MP4 muxer expects this, unfortunately. if (out->size > 0 && out->data[out->size - 1] != '\0') @@ -45,7 +45,7 @@ static int decutf8Work(hb_work_object_t * w, hb_buffer_realloc(out, ++out->size); out->data[out->size - 1] = '\0'; } - + *buf_in = NULL; *buf_out = out; return HB_WORK_OK; -- cgit v1.2.3