vlc-video: Fix possible undefined behavior in format conversion
Casting from char[] to uint32_t * is considered undefined behavior due to different alignment requirements. Instead of using char[] for the new value, this uses a macro to set a uint32_t directly. Issue detected by PVS Studio.
Showing
想要评论请 注册 或 登录