decpic: check pointer plane valid or not
decpic: check pointer plane valid or not

Signed-off-by: Zhong Li <ad6bffae321e88d39f25028f12e29bb1c91acd98@intel.com>

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