From 0260a8613bd992b596dfa0f2b69ecfbba33c9bca Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 30 Jan 2009 00:31:15 +0100 Subject: Fix signed/unsigned comparison issue within GStreamer plugin --- audio/gstrtpsbcpay.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'audio/gstrtpsbcpay.c') diff --git a/audio/gstrtpsbcpay.c b/audio/gstrtpsbcpay.c index f71c40e3..78ffb2a0 100644 --- a/audio/gstrtpsbcpay.c +++ b/audio/gstrtpsbcpay.c @@ -223,9 +223,9 @@ static GstFlowReturn gst_rtp_sbc_pay_handle_buffer(GstBaseRTPPayload *payload, 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))) + GST_BASE_RTP_PAYLOAD_MTU(sbcpay) || + (available > + (sbcpay->min_frames * sbcpay->frame_length))) return gst_rtp_sbc_pay_flush_buffers(sbcpay); return GST_FLOW_OK; -- cgit