From b5bc28290b4c33a5cafb1d55abb1dc0f688a9d53 Mon Sep 17 00:00:00 2001 From: John Stebbins Date: Sun, 6 Jan 2019 10:53:55 -0700 Subject: Add hb_getline since mingw doesn't have getline function --- libhb/decssasub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libhb/decssasub.c') 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); -- cgit v1.2.3