lcl: error out if uncompressed input buffer is smaller than framesize.
authorRonald S. Bultje <rsbultje@gmail.com>
Fri, 24 Feb 2012 00:09:36 +0000 (16:09 -0800)
committerRonald S. Bultje <rsbultje@gmail.com>
Fri, 24 Feb 2012 15:28:57 +0000 (07:28 -0800)
commitbe129271eac04f91393bf42a490ec631e1a9abea
treed4bd45ac4cb60ad7bf64e319408504b74a80aa41
parentab492ca2ab105aeb24d955f3f03756bdb3139ee1
lcl: error out if uncompressed input buffer is smaller than framesize.

This prevents crashes when trying to read beyond the end of the buffer
while decoding frame data.

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