On Fri, Feb 20, 2026 at 08:24:08PM +0000, NEKO ASAKURA via ffmpeg-devel wrote:
> The ssrc option used AV_OPT_TYPE_INT with range [INT_MIN, INT_MAX],
> but the underlying struct field is uint32_t and RFC 3550 defines SSRC
> as a 32-bit identifier covering the full [0, UINT32_MAX] range. This
> caused ffmpeg to reject any SSRC value above INT_MAX (~2.1 billion),
> which is roughly half of all valid values.
> 
> The auto-generated fallback path (av_get_random_seed()) already
> returns uint32_t and can produce values above INT_MAX, creating an
> inconsistency where the automatic path succeeds but the explicit
> -ssrc option rejects the same value.
> 
> Change the option to AV_OPT_TYPE_UINT with range [0, UINT32_MAX]
> to match the field type and allow the full identifier space.
> 
> Fixes ticket #9080.
> 
> Signed-off-by: Neko Asakura <[email protected]>
> ---
>  libavformat/rtpenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will be applied as soon as someone approves: 
https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/22302/commits

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to