Skip to content

Commit

Permalink
fix: check if filter is not null at first
Browse files Browse the repository at this point in the history
  • Loading branch information
touatily committed Mar 12, 2024
1 parent 1a7f99d commit 532f390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filter_core/filter_pid.c
Expand Up @@ -5612,7 +5612,7 @@ static GF_PropertyMap *check_new_pid_props(GF_FilterPid *pid, Bool merge_props)
nb_recf = 0;
for (i=0; i<pid->num_destinations; i++) {
GF_FilterPidInst *pidi = gf_list_get(pid->destinations, i);
if (!pidi->filter->process_task_queued) {
if (!pidi->filter || !pidi->filter->process_task_queued) {
//remember the pid prop map to use
pidi->reconfig_pid_props = map;
nb_recf++;
Expand Down

0 comments on commit 532f390

Please sign in to comment.