diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264bitwriter.c b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264bitwriter.c index b4ae920af2..918e2f7fb0 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264bitwriter.c +++ b/subprojects/gst-plugins-bad/gst-libs/gst/codecparsers/gsth264bitwriter.c @@ -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;