From: Marcel Holtmann Date: Thu, 29 Jan 2009 23:31:15 +0000 (+0100) Subject: rtpsbcpay: Fix signed/unsigned comparison issue within GStreamer plugin X-Git-Tag: 1.1.1~401 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7fa03c007602792b74e4e8f8fcc8addd3268565c;p=platform%2Fupstream%2Fgst-plugins-good.git rtpsbcpay: Fix signed/unsigned comparison issue within GStreamer plugin --- diff --git a/gst/rtp/gstrtpsbcpay.c b/gst/rtp/gstrtpsbcpay.c index 34f0863..4815e3f 100644 --- a/gst/rtp/gstrtpsbcpay.c +++ b/gst/rtp/gstrtpsbcpay.c @@ -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;