rtpsbcpay: Fix signed/unsigned comparison issue within GStreamer plugin

This commit is contained in:
Marcel Holtmann 2009-01-30 00:31:15 +01:00 committed by Tim-Philipp Müller
parent 27a6b0abfe
commit 7fa03c0076

View file

@ -225,8 +225,7 @@ gst_rtp_sbc_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buffer)
available = gst_adapter_available (sbcpay->adapter);
if (available + RTP_SBC_HEADER_TOTAL >=
GST_BASE_RTP_PAYLOAD_MTU (sbcpay) ||
(sbcpay->min_frames != -1 && available >
(sbcpay->min_frames * sbcpay->frame_length)))
(available > (sbcpay->min_frames * sbcpay->frame_length)))
return gst_rtp_sbc_pay_flush_buffers (sbcpay);
return GST_FLOW_OK;