libeplayer3-arm: cleanup types, use Context_t in commands

Origin commit data
------------------
Branch: master
Commit: 76ff23f487
Author: max_10 <max_10@gmx.de>
Date: 2018-03-07 (Wed, 07 Mar 2018)


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

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2018-03-07 23:59:23 +01:00
parent 72f70359b2
commit a51ed97fb2
32 changed files with 194 additions and 182 deletions

View File

@@ -188,9 +188,8 @@ static int Flush()
return cERR_SUBTITLE_NO_ERROR;
}
static int Write(void *_context, void *data)
static int Write(Context_t *context, void *data)
{
Context_t *context = (Context_t *)_context;
char *Encoding = NULL;
SubtitleOut_t *out = NULL;
int32_t curtrackid = -1;
@@ -257,9 +256,8 @@ static int32_t subtitle_Close(Context_t *context __attribute__((unused)))
return cERR_SUBTITLE_NO_ERROR;
}
static int Command(void *_context, OutputCmd_t command, void *argument __attribute__((unused)))
static int Command(Context_t *context, OutputCmd_t command, void *argument __attribute__((unused)))
{
Context_t *context = (Context_t *) _context;
int ret = cERR_SUBTITLE_NO_ERROR;
subtitle_printf(50, "%d\n", command);
switch (command)