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>
Thu, 4 Jul 2013 20:05:15 +0000 (22:05 +0200)
commit51a23b0e95ac117a691c7d849c7af7ffa9e7d18b
treeff76f1c932ef6beb6c8c78a9f5d1b4c7b7bdbd80
parent2cdc97632033206d287b734365e055751a5636de
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>
libavcodec/ivi_common.c