rtpg728pay: remove unused adapter peek

This commit is contained in:
Wim Taymans 2010-01-06 13:45:59 +01:00
parent 62900a4c13
commit 4c1947045e

View file

@ -150,7 +150,6 @@ gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
GST_BASE_RTP_AUDIO_PAYLOAD (payload);
GstAdapter *adapter = NULL;
guint payload_len;
const guint8 *data = NULL;
guint available;
guint maxptime_octets = G_MAXUINT;
guint minptime_octets = 0;
@ -253,8 +252,6 @@ gst_rtp_g729_pay_handle_buffer (GstBaseRTPPayload * payload, GstBuffer * buf)
(available / G729_FRAME_SIZE) * G729_FRAME_SIZE);
}
data = gst_adapter_peek (adapter, payload_len);
ret = gst_base_rtp_audio_payload_flush (basertpaudiopayload, payload_len,
basertpaudiopayload->base_ts);