rv10: improve buffer size check.
commit605b047bcc48482dc8a356f56629da259fbddbf1
authorAnton Khirnov <anton@khirnov.net>
Sun, 3 Feb 2013 07:42:02 +0000 (3 08:42 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 6 Feb 2013 20:47:57 +0000 (6 21:47 +0100)
tree77d7146f0aed3b19b47f6bbf9daa875de7f212fd
parentc5fcdb440237f06f6c954185ab60970cabf786a2
rv10: improve buffer size check.

Check slice count and input buffer size before constructing a possibly
invalid pointer, not after.
libavcodec/rv10.c