diff options
author | Rodeo <[email protected]> | 2013-03-19 17:58:52 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-19 17:58:52 +0000 |
commit | c99843481a02e864f7deaaa36b9f10659d0829b9 (patch) | |
tree | cdd71f59c6d873e4a82dae54b777a2250dffac77 /libhb/decutf8sub.c | |
parent | 6e4ba4cba68d8ca82ef60e087e5a6d0bc517330d (diff) |
decutf8sub: cosmetics.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5348 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decutf8sub.c')
-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; |