frontends/omx: initialize film_grain_target

set film_grain_target to NULL, and not using it
in omx path.

CC: 22.3
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20139>
This commit is contained in:
Ruijing Dong 2022-12-02 16:02:12 -05:00 committed by Marge Bot
parent b70953f5ba
commit 7f71f732ea

View file

@ -1638,6 +1638,7 @@ static void frame_header_obu(vid_dec_PrivateType *priv, struct vl_vlc *vlc)
film_grain_params(priv, vlc);
priv->picture.av1.film_grain_target = NULL;
priv->picture.av1.picture_parameter.pic_info_fields.frame_type = hdr->frame_type;
priv->picture.av1.picture_parameter.pic_info_fields.show_frame = hdr->show_frame;
priv->picture.av1.picture_parameter.pic_info_fields.error_resilient_mode =