mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tsdemux: Protect against program being removed
This commit is contained in:
parent
8aebdeb35d
commit
ffc9303c9d
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ gst_ts_demux_program_stopped (MpegTSBase * base, MpegTSBaseProgram * program)
|
|||
|
||||
GST_LOG ("program %d stopped", program->program_number);
|
||||
|
||||
if (program != demux->program)
|
||||
if (demux->program == NULL || program != demux->program)
|
||||
return;
|
||||
|
||||
for (i = 0; i < 0x2000; i++) {
|
||||
|
|
Loading…
Reference in a new issue