Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
subscriptions: subscription_create_from_mux() reshuffle some wrong co…
…de (coverity)
  • Loading branch information
perexg committed Oct 3, 2014
1 parent 854f4df commit a28696f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/subscriptions.c
Expand Up @@ -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);
Expand Down

0 comments on commit a28696f

Please sign in to comment.