]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/ari/resource_bridges.c: Normalize channel_format ref handling for bridge media
authorPeter Krall <pekkaar@gmail.com>
Wed, 17 Dec 2025 12:23:17 +0000 (13:23 +0100)
committerPeter Krall <pekkaar@gmail.com>
Mon, 5 Jan 2026 12:45:33 +0000 (12:45 +0000)
commit39a508cc714ea00c22e397c24b612d96e42857fa
tree9b4dec040799a2ffc45bfe79046b8d9f438b15b1
parent7b8f0c14d10c5b4dcdca1e5198a40ae121ddd310
res/ari/resource_bridges.c: Normalize channel_format ref handling for bridge media

Always take an explicit reference on the format used for bridge playback
and recording channels, regardless of where it was sourced, and release
it after prepare_bridge_media_channel. This aligns the code paths and
avoids mixing borrowed and owned references while preserving behavior.

Fixes: #1648
res/ari/resource_bridges.c