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>
Sun, 10 Feb 2013 17:01:15 +0000 (18:01 +0100)
commitd1729c3715af6901788058be46e8a73372e434bf
tree2fbd4f4258e79b570088e451ce671b70f903bd44
parentc28c631d29a8a6388a58fb3aafb940c607915ff2
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