mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
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:
parent
bca3a3c923
commit
b5b86a0c98
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue