From 9c8773f32a76461cf5e23867ac9509319ce7cd56 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 3 Jun 2025 10:20:16 -0400 Subject: [PATCH] MT#55283 fix regression from f86c5e17 Change-Id: I45348fa753f778ab58a5dd257d45604a230fc5d5 --- daemon/media_player.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/daemon/media_player.c b/daemon/media_player.c index d3490bc75..476cff696 100644 --- a/daemon/media_player.c +++ b/daemon/media_player.c @@ -879,7 +879,8 @@ static bool media_player_cache_entry_init(struct media_player *mp, const rtp_pay entry->coder = mp->coder; ZERO(mp->coder); mp->coder.duration = entry->coder.duration; // retain this for reporting - entry->coder.avioctx->opaque = &entry->coder; // format context pointer must point to new coder + if (entry->coder.avioctx) + entry->coder.avioctx->opaque = &entry->coder; // format context pointer must point to new coder entry->call_ref = obj_get(mp->call); // hold reference until decoding is finished, as blob is owned by call entry->coder.handler->packet_encoded = media_player_packet_cache;