alac: do not return success if nothing was decoded
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Aug 2016 08:18:39 +0000 (10:18 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 18 Aug 2016 15:06:46 +0000 (17:06 +0200)
commit796dca027be09334d7bbf4f2ac1200e06bb054cb
treecc9112eb6bb73beae6e6bf066508483a1addae06
parentf5d46d332258dcd8ca623019ece1d5e5bb74142b
alac: do not return success if nothing was decoded

If we encounter an END element before anything is decoded, we would
return success even though the output frame has not been allocated,
which is invalid.

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