You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-04-24 04:44:54 +02:00
da59f288c6
Allows the compiler to optimize the the aliasing checks away and saves 5376B here (GCC 15, -O3). Also, avoid converting the stride to uint16_t for >8bpp: stride /= sizeof(pixel) will use an unsigned division (i.e. a logical right shift)*, which is not what is intended here. *: If size_t is the corresponding unsigned type to ptrdiff_t Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>