Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts input: return mutex lock order in mpegts_input_table_dispatch()
  • Loading branch information
perexg committed Mar 18, 2015
1 parent 8480557 commit fe8e0b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/mpegts_input.c
Expand Up @@ -924,9 +924,9 @@ mpegts_input_table_dispatch ( mpegts_mux_t *mm, const uint8_t *tsb, int tsb_len
mpegts_table_t *mt, **vec;

/* Collate - tables may be removed during callbacks */
pthread_mutex_lock(&mm->mm_tables_lock);
i = mm->mm_num_tables;
vec = alloca(i * sizeof(mpegts_table_t *));
pthread_mutex_lock(&mm->mm_tables_lock);
LIST_FOREACH(mt, &mm->mm_tables, mt_link) {
c++;
if (mt->mt_destroyed || !mt->mt_subscribed || mt->mt_pid != pid)
Expand Down

0 comments on commit fe8e0b0

Please sign in to comment.