jpegdec: return success for NULL or zero size decode buffer.
jpegdec: return success for NULL or zero size decode buffer.

NULL or zero size buffer is indicate for flush. Jpeg/mjpeg do not have to flush.
Just ignore it and return success

seanvk/libyami,seanvk/libyami,uartie/libyami,YuJiankang/libyami,lizhong1008/libyami,yizhouwei/libyami,01org/libyami,uartie/libyami,zhaobob/libyami,stripes416/libyami,zhaobob/libyami,lizhong1008/libyami,zhaobob/libyami,seanvk/libyami,01org/libyami,uartie/libyami,dspmeng/libyami,yizhouwei/libyami,lizhong1008/libyami,YuJiankang/libyami,dspmeng/libyami,dspmeng/libyami,yizhouwei/libyami,01org/libyami,stripes416/libyami,stripes416/libyami,YuJiankang/libyami