Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mpegts mux: correct mpegts_mux_set_tsid() - none check
  • Loading branch information
perexg committed May 27, 2016
1 parent c3f1d4e commit f02d915
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/mpegts_mux.c
Expand Up @@ -1230,7 +1230,7 @@ mpegts_mux_set_tsid ( mpegts_mux_t *mm, uint16_t tsid, int force )
{
if (tsid == mm->mm_tsid)
return 0;
if (!force && mm->mm_tsid)
if (!force && mm->mm_tsid != MPEGTS_TSID_NONE)
return 0;
mm->mm_tsid = tsid;
if (tvhtrace_enabled()) {
Expand Down

0 comments on commit f02d915

Please sign in to comment.