audio: avoid buffer copy when nothing is clipped
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 9 Mar 2012 15:17:54 +0000 (16:17 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 9 Mar 2012 15:17:54 +0000 (16:17 +0100)
commit94869bff3896957d22bba0231bf3c8315024830a
treee6779655b28c54ebed1d434bea9c17b4b3637ccb
parent0b17c3747ae430c61cd4552891f8bdd572845065
audio: avoid buffer copy when nothing is clipped

when nothing is clipped, return the input buffer instead of creating and
returning an identical copy.
gst-libs/gst/audio/audio.c