[bug fixed] fix 404 bug when w=0&h=0&g=1&p=0 in mode ssdb.