indeo: Properly forward the error codes
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 30 Jun 2013 07:57:56 +0000 (09:57 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sat, 6 Jul 2013 08:10:17 +0000 (10:10 +0200)
commit7658333c175562edb89136191fd577ad4a7f5795
tree30596ce3f53b4f611c8d959a19c1d525078a4778
parentf16aa5843ff9ac7de26fc22e85684ff4ea1cad4f
indeo: Properly forward the error codes

If the tile data size does not match the buffer size it did not
return an AVERROR_INVALIDDATA causing futher corruption later.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit 7388c0c58601477db076e2e74e8b11f8a644384a)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Conflicts:
libavcodec/ivi_common.c
libavcodec/ivi_common.c