Clean up ALACdec
authorJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 26 Oct 2010 07:20:51 +0000 (07:20 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 26 Oct 2010 07:20:51 +0000 (07:20 +0000)
commit313b52fbfff47ed934cdeccaebda9b3406466575
tree0dc98815b25373c8181aa76cde85d0e288d365ff
parentfc3128c9d57ac7d3c572d87e3a0c5b8107eca3f4
Clean up ALACdec
Do decode init in the init function instead of at the first frame.
Fix some possible crash cases.

Originally committed as revision 25572 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/alac.c