diff options
Diffstat (limited to 'libhb')
-rw-r--r-- | libhb/decutf8sub.c | 4 |
1 files 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; |