Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts mux scheduler: fixed crash, fixes #2434
  • Loading branch information
perexg committed Oct 30, 2014
1 parent 9bb73c1 commit 03578d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/mpegts_mux_sched.c
Expand Up @@ -206,7 +206,7 @@ mpegts_mux_sched_timer ( void *p )
assert(mms->mms_sub == NULL);

if (!mms->mms_prch)
mms->mms_prch = calloc(1, sizeof(mms->mms_prch));
mms->mms_prch = calloc(1, sizeof(*mms->mms_prch));
mms->mms_prch->prch_id = mm;
mms->mms_prch->prch_st = &mms->mms_input;

Expand Down

0 comments on commit 03578d3

Please sign in to comment.