nvh264dec: Remove type casting

Have fixed type of second_chroma_qp_index_offset as gint8, so remove the type
casting here.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3966>
This commit is contained in:
Mengkejiergeli Ba 2023-02-16 11:18:39 +08:00 committed by GStreamer Marge Bot
parent bca3a3c923
commit b5b86a0c98

View file

@ -817,8 +817,7 @@ static void
gst_nv_h264_dec_picture_params_from_pps (GstNvH264Dec * self,
const GstH264PPS * pps, CUVIDH264PICPARAMS * params)
{
params->second_chroma_qp_index_offset =
(gint8) pps->second_chroma_qp_index_offset;
params->second_chroma_qp_index_offset = pps->second_chroma_qp_index_offset;
#define COPY_FIELD(f) \
(params)->f = (pps)->f