Re: [FFmpeg-devel] [PATCH] avformat/rtsp: Fix server compatibility issues with rtspclientsink GStreamer plugin

2024-01-13 Thread Michael Niedermayer
On Fri, Jan 12, 2024 at 10:46:41PM +0200, Paul Orlyk wrote: > On 1/12/24 21:07, Michael Niedermayer wrote: > > On Wed, Jan 03, 2024 at 02:51:36PM +0200, Paul Orlyk wrote: > > > On 12/28/23 21:33, Michael Niedermayer wrote: > > > > On Wed, Dec 27, 2023 at 03:44:09PM +0200, Paul Orlyk wrote: > > > >

[FFmpeg-devel] [PATCH v2] avutil/mem: limit alignment to maximum simd align

2024-01-13 Thread Timo Rothenpieler
FFmpeg has instances of DECLARE_ALIGNED(32, ...) in a lot of structs, which then end up heap-allocated. By declaring any variable in a struct, or tree of structs, to be 32 byte aligned, it allows the compiler to safely assume the entire struct itself is also 32 byte aligned. This might make the co

Re: [FFmpeg-devel] [PATCH] avutil/mem: limit alignment to maximum simg align

2024-01-13 Thread Timo Rothenpieler
On 13.01.2024 01:57, Timo Rothenpieler wrote: FFmpeg has instances of DECLARE_ALIGNED(32, ...) in a lot of structs, which then end up heap-allocated. By declaring any variable in a struct, or tree of structs, to be 32 byte aligned, it allows the compiler to safely assume the entire struct itself