mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
rtpsbcpay: Fix signed/unsigned comparison issue within GStreamer plugin
This commit is contained in:
parent
27a6b0abfe
commit
7fa03c0076
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue