libspark/libeplayer: rudimentary subtitle support, probably unstable

Origin commit data
------------------
Branch: master
Commit: aa0681a555
Author: martii <m4rtii@gmx.de>
Date: 2012-11-04 (Sun, 04 Nov 2012)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2012-11-04 15:39:48 +01:00
parent bfbb483731
commit a783f1de92
5 changed files with 144 additions and 1 deletions

View File

@@ -36,6 +36,9 @@ Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
static inline unsigned char* text_to_ass(char *text, long long int pts, double duration)
{
char buf[1024];
#ifdef MARTII
unsigned
#endif
int x,pos=0;
for(x=0;x<strlen(text);x++){
if(text[x]=='\n'){