aacdec: Don't eat full buffer on errors.
authorAndre Noll <maan@systemlinux.org>
Sun, 6 Apr 2014 10:13:10 +0000 (12:13 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 25 Mar 2017 10:54:36 +0000 (11:54 +0100)
commit198d80de3be06f39f316f516fba655392d7b885a
tree4747b76644a7812a913726e67c8b7d3d988689e3
parentc22fa00c45822fe62a8a921e54f19c012680fc2b
aacdec: Don't eat full buffer on errors.

On decoding errors, if the call to NeAACDecDecode() did not consume
anything from the input buffer, we currently throw away the full
buffer. This does not necessarily improve matters, so let's just eat
one byte and hope that subsequent calls succeed.
aacdec_filter.c