Commit d40d7cfb authored by Martin Storsjö's avatar Martin Storsjö

omxil: Remove an unused struct member

Additionally, the mutex never seem to have been released but
just leaked.
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent dee9d80d
...@@ -928,7 +928,6 @@ loaded: ...@@ -928,7 +928,6 @@ loaded:
p_sys->pp_last_event = &p_sys->p_events; p_sys->pp_last_event = &p_sys->p_events;
vlc_mutex_init (&p_sys->mutex); vlc_mutex_init (&p_sys->mutex);
vlc_cond_init (&p_sys->cond); vlc_cond_init (&p_sys->cond);
vlc_mutex_init (&p_sys->lock);
vlc_mutex_init (&p_sys->in.fifo.lock); vlc_mutex_init (&p_sys->in.fifo.lock);
vlc_cond_init (&p_sys->in.fifo.wait); vlc_cond_init (&p_sys->in.fifo.wait);
p_sys->in.fifo.offset = offsetof(OMX_BUFFERHEADERTYPE, pOutputPortPrivate) / sizeof(void *); p_sys->in.fifo.offset = offsetof(OMX_BUFFERHEADERTYPE, pOutputPortPrivate) / sizeof(void *);
......
...@@ -81,7 +81,6 @@ struct decoder_sys_t ...@@ -81,7 +81,6 @@ struct decoder_sys_t
bool b_enc; bool b_enc;
bool b_init; bool b_init;
vlc_mutex_t lock;
char psz_component[OMX_MAX_STRINGNAME_SIZE]; char psz_component[OMX_MAX_STRINGNAME_SIZE];
char ppsz_components[MAX_COMPONENTS_LIST_SIZE][OMX_MAX_STRINGNAME_SIZE]; char ppsz_components[MAX_COMPONENTS_LIST_SIZE][OMX_MAX_STRINGNAME_SIZE];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment