vc1test: Return proper error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>