test/api-seek: clean up properly on failure
authorJames Almer <jamrial@gmail.com>
Sun, 12 Mar 2017 13:36:44 +0000 (10:36 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 12 Mar 2017 17:29:11 +0000 (14:29 -0300)
commitbdd07d7796e939e920842eb7280e1bce488fb95d
treef414a465c4800f0413c72c1ff8858822f588c6eb
parent88deeb3eba00271e9fb82177860c743fc564e8c0
test/api-seek: clean up properly on failure

Also propagate better error values.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
tests/api/api-seek-test.c