Skip to content

swscale/x86/rgb_2_rgb: Add opaque pointer to missed definitions of ff_nv12ToUV

amyspark requested to merge amyspark/ffmpeg:cherry-pick-upstream-b-lto into meson-6.1

Opaque parameters were previously added to the original definition of ff_nv12ToUV, leading to gcc noticing a type mismatch with -Wlto-type-mismatch.

https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/f2de911818fbd7e73343803626b697fd0c968121 https://bugs.gentoo.org/907484

Signed-off-by: Alfred Wingate parona@protonmail.com

Signed-off-by: Anton Khirnov anton@khirnov.net

(cherry picked from commit e5ce4730)

Fixes #42

Merge request reports