eecfb02463
For h264/h265/av1/vp9, give warning when application is sending more slices than allowed by limit, and stop copying remaining slices to avoid unwanted behaviour. Cc: mesa-stable Signed-off-by: Yinjie Yao <yinjie.yao@amd.com> Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com> Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34633>