diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-30 00:31:15 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-30 00:31:15 +0100 |
commit | 0260a8613bd992b596dfa0f2b69ecfbba33c9bca (patch) | |
tree | d38f86a1d3d38d15041e61de985a3a185c8b2010 /audio/gstrtpsbcpay.c | |
parent | b41ba1eb2b6b7a775536f803eda6fe42d8742745 (diff) |
Fix signed/unsigned comparison issue within GStreamer plugin
Diffstat (limited to 'audio/gstrtpsbcpay.c')
-rw-r--r-- | audio/gstrtpsbcpay.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |