subscriptions: subscription_create_from_mux() reshuffle some wrong code (coverity)
This commit is contained in:
parent
854f4dfbae
commit
a28696f4f9
1 changed files with 3 additions and 1 deletions
|
@ -741,7 +741,9 @@ subscription_create_from_mux
|
|||
|
||||
/* Install full mux handler */
|
||||
mi = s->ths_mmi->mmi_input;
|
||||
if (mi && (s->ths_flags & SUBSCRIPTION_FULLMUX)) {
|
||||
assert(mi);
|
||||
|
||||
if (s->ths_flags & SUBSCRIPTION_FULLMUX) {
|
||||
pthread_mutex_lock(&mi->mi_output_lock);
|
||||
mi->mi_open_pid(mi, mm, MPEGTS_FULLMUX_PID, MPS_NONE, s);
|
||||
pthread_mutex_unlock(&mi->mi_output_lock);
|
||||
|
|
Loading…
Add table
Reference in a new issue