indeo: Properly forward the error codes
authorLuca Barbato <lu_zero@gentoo.org>
Sun, 30 Jun 2013 07:57:56 +0000 (09:57 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 1 Jul 2013 02:17:46 +0000 (04:17 +0200)
commit7388c0c58601477db076e2e74e8b11f8a644384a
tree076038fc6d3b20481060a98a539f4fe1fddffd7a
parent1221bb623978c013046bcb8e5af7f6b9b418a10e
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
libavcodec/ivi_common.c