yop: Fix return type

Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>