summaryrefslogtreecommitdiffstats
path: root/libhb/decssasub.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-01-06 10:53:55 -0700
committerJohn Stebbins <[email protected]>2019-01-14 13:36:08 -0800
commitb5bc28290b4c33a5cafb1d55abb1dc0f688a9d53 (patch)
tree86eb0a80c54d1aaad9a8a3cdd97c7eaa5d994f58 /libhb/decssasub.c
parentef1e5ad9fd6ab564523660567a023ac57e3eeb6f (diff)
Add hb_getline since mingw doesn't have getline function
Diffstat (limited to 'libhb/decssasub.c')
-rw-r--r--libhb/decssasub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/decssasub.c b/libhb/decssasub.c
index 5d0b4a3b3..2e95ba789 100644
--- a/libhb/decssasub.c
+++ b/libhb/decssasub.c
@@ -237,7 +237,7 @@ static int extradataInit( hb_work_private_t * pv )
ssize_t len;
size_t size = 0;
- len = getline(&line, &size, pv->file);
+ len = hb_getline(&line, &size, pv->file);
if (len < 0)
{
// Incomplete SSA header
@@ -472,7 +472,7 @@ static hb_buffer_t * ssa_read( hb_work_private_t * pv )
ssize_t len;
size_t size = 0;
- len = getline(&line, &size, pv->file);
+ len = hb_getline(&line, &size, pv->file);
if (len > 0 && line != NULL)
{
out = decode_line_to_mkv_ssa(pv, line, len);