atrac3: fix error handling
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 8 Jul 2013 23:03:13 +0000 (01:03 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Tue, 9 Jul 2013 08:49:29 +0000 (10:49 +0200)
commit874c8a17ac9b04fb7ac23d003e54e3662dd23b4e
tree8194e2a184e31fa73a1a682c01278c87dc53f161
parent0677ddebc6e93c3aee1504be45cec1e8d7299581
atrac3: fix error handling

decode_tonal_components returns a proper AVERROR.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/atrac3.c