flacdec: use gst_adapter_copy() to avoid unnecessary buffer merges
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 1 Aug 2009 14:22:49 +0000 (15:22 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sat, 1 Aug 2009 14:22:49 +0000 (15:22 +0100)
commite8badc068687e2c947f58efa9fadd48626c009fb
treecf223f5f229eff8c8ffa8f6be6666a58653ada90
parent33b686974e2eadecdc96646bf17e78d7f9ac81d1
flacdec: use gst_adapter_copy() to avoid unnecessary buffer merges

gst_adapter_peek() will merge buffers as needed, which we can avoid
here since we're doing a memcpy anyway and then flush the copied
data from the adapter right away.
ext/flac/gstflacdec.c