spandsp: Don't use the private field 'missing_samples'

https://bugzilla.gnome.org/show_bug.cgi?id=748497
This commit is contained in:
Руслан Ижбулатов 2015-04-26 21:03:45 +00:00 committed by Nicolas Dufresne
parent d45a1253b1
commit 5b22a126fe

View file

@ -188,7 +188,6 @@ gst_span_plc_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
GstSpanPlc *plc = GST_SPAN_PLC (parent);
GstMapInfo map;
if (plc->plc_state->missing_samples != 0)
buffer = gst_buffer_make_writable (buffer);
gst_buffer_map (buffer, &map, GST_MAP_READWRITE);
plc_rx (plc->plc_state, (int16_t *) map.data, map.size / 2);