Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts input: fix the wrong variable access
  • Loading branch information
perexg committed Jan 2, 2015
1 parent 4dcdbef commit cb5aed8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/input/mpegts/mpegts_input.c
Expand Up @@ -850,14 +850,17 @@ mpegts_input_process
mpegts_mux_instance_t *mmi;
mpegts_pid_t *last_mp = NULL;
#if ENABLE_TSDEBUG
off_t tsdebug_pos = mm->mm_tsdebug_pos;
off_t tsdebug_pos;
#endif

if (mm == NULL || (mmi = mm->mm_active) == NULL)
return;

assert(mm == mmi->mmi_mux);

#if ENABLE_TSDEBUG
tsdebug_pos = mm->mm_tsdebug_pos;
#endif
mi->mi_live = 1;

/* Process */
Expand Down

0 comments on commit cb5aed8

Please sign in to comment.