0fd0b76922
An H.265 SPS can contain multiple short-term reference picture sets. Fix the code to properly store and copy all sets instead of just one. Signed-off-by: Hyunjun Ko <zzoon@igalia.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38571>