Fix input buffer size check in adpcm_ea decoder.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Thu, 7 Apr 2011 23:19:21 +0000 (01:19 +0200)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sun, 10 Apr 2011 09:40:47 +0000 (11:40 +0200)
commit701d0eb185192542c4a17f296e39e37cedf7abc6
tree559960ce0aaa3f4a24f90551e4876a8b4fbbf964
parentafaedbd6f76c1601c39007f8bc2627948de78d49
Fix input buffer size check in adpcm_ea decoder.

Unfortunately the output buffer size check assumes that the
input buffer is never over-consumed, thus this actually
also allowed to write outside the output buffer if "lucky".
libavcodec/adpcm.c