Skip to content

Commit

Permalink
rtp_relay: ignore correct branch index
Browse files Browse the repository at this point in the history
Many thanks to Liviu Chircu for spotting the issue
  • Loading branch information
razvancrainea committed Jun 14, 2024
1 parent 2fba04a commit 90c9b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/rtp_relay/rtp_relay.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ struct rtp_relay_leg *rtp_relay_get_leg(struct rtp_relay_ctx *ctx,
continue;
}
}
if (leg->index != PV_IDX_ALL && leg->index == idx)
if (leg->index != RTP_RELAY_ALL_BRANCHES && leg->index == idx)
return leg;
}

Expand Down

0 comments on commit 90c9b78

Please sign in to comment.