diff options
author | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-02-29 19:50:10 +0000 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.dentz@openbossa.org> | 2008-02-29 19:50:10 +0000 |
commit | 744fbe08ac5950a96cfbe193fcc2f664c26acf61 (patch) | |
tree | b0065ff0d8c411c30b92cefe40fc34073e5da079 /audio | |
parent | 93f2cfda49d36c29a089012fd7e9df0bcaa8682e (diff) |
Fix code style.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gstrtpsbcpay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/gstrtpsbcpay.c b/audio/gstrtpsbcpay.c index d0fec58e..3627ad0b 100644 --- a/audio/gstrtpsbcpay.c +++ b/audio/gstrtpsbcpay.c @@ -198,9 +198,9 @@ static GstFlowReturn gst_rtp_sbc_pay_flush_buffers(GstRtpSBCPay *sbcpay) memset(payload, 0, sizeof(struct rtp_payload)); payload->frame_count = frame_count; - gst_adapter_copy(sbcpay->adapter, payload_data + + gst_adapter_copy(sbcpay->adapter, payload_data + RTP_SBC_PAYLOAD_HEADER_SIZE, 0, payload_length); - gst_adapter_flush(sbcpay->adapter, payload_length); + gst_adapter_flush(sbcpay->adapter, payload_length); GST_BUFFER_TIMESTAMP(outbuf) = sbcpay->timestamp; GST_DEBUG_OBJECT (sbcpay, "Pushing %d bytes", payload_length); |