mpegts mux scheduler: fixed crash, fixes #2434

This commit is contained in:
Jaroslav Kysela 2014-10-30 14:24:22 +01:00
parent 9bb73c118d
commit 03578d3226

View file

@ -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;