[codec,rfx] revert removal of rfx_message_get_frame_idx

This commit is contained in:
akallabeth 2023-10-10 13:26:05 +02:00 committed by akallabeth
parent 13a3d6d988
commit 8be124b4a2
1 changed files with 6 additions and 0 deletions

View File

@ -2166,6 +2166,12 @@ UINT32 rfx_context_get_frame_idx(const RFX_CONTEXT* context)
return context->frameIdx;
}
UINT32 rfx_message_get_frame_idx(const RFX_MESSAGE* message)
{
WINPR_ASSERT(message);
return message->frameIdx;
}
static INLINE BOOL rfx_write_progressive_wb_sync(RFX_CONTEXT* rfx, wStream* s)
{
const UINT32 blockLen = 12;