Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
descrambler: fix mm_descrambler_lock deadlock in the CAT callback, fi…
…xes #2636
  • Loading branch information
perexg committed Jan 24, 2015
1 parent 44a1df1 commit d83aefe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/descrambler/descrambler.c
Expand Up @@ -747,7 +747,7 @@ descrambler_cat_data( mpegts_mux_t *mux, const uint8_t *data, int len )
caid = emm->caid;
pid = emm->pid;
tvhtrace("descrambler", "close emm caid %04X (%i) pid %04X (%i)", caid, caid, pid, pid);
descrambler_close_pid(mux, emm->opaque, pid);
descrambler_close_pid_(mux, emm->opaque, pid);
}
TAILQ_REMOVE(&mux->mm_descrambler_emms, emm, link);
TAILQ_INSERT_TAIL(&removing, emm, link);
Expand Down

0 comments on commit d83aefe

Please sign in to comment.