avidec: use actually read size instead of requested size
authorAnton Khirnov <anton@khirnov.net>
Fri, 28 Sep 2012 13:42:29 +0000 (15:42 +0200)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:37 +0000 (07:43 +0100)
commit05f5a2eb62db2ffb802b2c317cb48c769ab02b3b
tree8b24de0d6c5cc011579b462cf73a6e412c38efd3
parent4a636a5e43685637129efbf2ac65f4bdad011e37
avidec: use actually read size instead of requested size

Fixes CVE-2012-2788
(cherry picked from commit 0af49a63c7f87876486ab09482d5b26b95abce60)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/avidec.c