atrac3: fix error handling
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 8 Jul 2013 23:03:13 +0000 (01:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 10 Jul 2013 00:15:43 +0000 (02:15 +0200)
commit5eaed6d33689cc6f6e7c07463ede6b387b08afc4
tree23bc30d14d64b127eb6a833452b5a4d28a900f23
parent09f59d6adfa19d1ad5049416c1d0fbc996f509fd
atrac3: fix error handling

decode_tonal_components returns a proper AVERROR.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/atrac3.c