OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix reading of short srt subtitle files
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
decsrtsub.c
diff --git
a/libhb/decsrtsub.c
b/libhb/decsrtsub.c
index
bf35c9e
..
1bb540a
100644
(file)
--- a/
libhb/decsrtsub.c
+++ b/
libhb/decsrtsub.c
@@
-89,7
+89,12
@@
static int utf8_fill( hb_work_private_t * pv )
pv->pos = 0;
pv->end = bytes;
if( bytes == 0 )
- return 0;
+ {
+ if( conversion )
+ return 1;
+ else
+ return 0;
+ }
}
p = pv->buf + pv->pos;