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 16:56:45 +0000 (18:56 +0200)
commit221bbd002c62ede7427d465922b91f75f055a1a9
tree57c49edc057ddb00420898e444123295b1336866
parentfffc9316daab9690ab0e124a0cfbcbb0faea836c
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>
(cherry picked from commit 5eaed6d33689cc6f6e7c07463ede6b387b08afc4)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/atrac3.c