opusdec: fix "buffer too small" error
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 26 Sep 2016 09:50:52 +0000 (10:50 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 1 Nov 2016 17:58:42 +0000 (19:58 +0200)
commita6ced9cbc8be263ad882a57ab22eafd33b9bcb79
treecdfd04a5e62cdd8c4a2033d22b2769600d382484
parent028b16bb673649ac35ced3904abe3ca9cc130f98
opusdec: fix "buffer too small" error

Always supply a buffer with max size to the decoder, as we
can't really decide how many samples will be in the lost packet
based on the timestamps we get.

https://bugzilla.gnome.org/show_bug.cgi?id=771723
ext/opus/gstopusdec.c