rv30: return AVERROR(EINVAL) instead of EINVAL
authorDiego Biurrun <diego@biurrun.de>
Thu, 21 Jul 2011 12:25:01 +0000 (14:25 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sat, 5 Nov 2011 12:18:32 +0000 (13:18 +0100)
commitd2411412f15142bdf51e4677ef69a372cc6a10d4
treed1e18bf566a39a4ac4f76e658cfbfa5ef7072a06
parent0facc63ff6176a8d70280e8f7da26f77be81ee36
rv30: return AVERROR(EINVAL) instead of EINVAL

On some platforms EINVAL could be positive, ensure we return negative values.
(cherry picked from commit e5985185d2eda942333ebbb72bd7d043ffe40be7)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavcodec/rv30.c