avvidenc: Fix error propagation

Instead of returning the default return value (GST_FLOW_OK), actually
return an error one (res vs ret).
21 jobs for returnfix in 50 minutes (queued for 3 seconds)