h264bitwriter: Remove second_chroma_qp_index_offset cast

That API pps->second_chroma_qp_index_offset has been fixed to reflect
the sign of field in the spec.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3966>
This commit is contained in:
Nicolas Dufresne 2023-02-20 10:56:27 -05:00 committed by GStreamer Marge Bot
parent b5b86a0c98
commit 9aa41aa35e

View file

@ -578,7 +578,7 @@ _h264_bit_writer_pps (const GstH264PPS * pps, GstBitWriter * bw,
}
}
WRITE_SE_RANGE (bw, ((gint) pps->second_chroma_qp_index_offset), -12, 12);
WRITE_SE_RANGE (bw, pps->second_chroma_qp_index_offset, -12, 12);
*space = TRUE;
return TRUE;