rtpamrdepay: fix unnecessary sub-buffer creation
authorTim-Philipp Müller <tim@centricular.com>
Thu, 7 Jan 2016 20:34:05 +0000 (20:34 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 8 Jan 2016 16:40:32 +0000 (16:40 +0000)
commitc75f94c8f57099a6384a3d310ca53666f0cd520b
treefa5c94f26d56883254995dddf47639fff0a9ef83
parenta8b864397764af49aa7827056e6c799175b38f39
rtpamrdepay: fix unnecessary sub-buffer creation

We create a sub-buffer just to copy over its metas and then
throw it away immediately, just use the original input buffer
directly.
gst/rtp/gstrtpamrdepay.c