PD#149614: fix param null pointer error.

Change-Id: I3e4627353fc5008269a1a5c82bbe9193aa6ff599
This commit is contained in:
liangzhuo.xie
2017-08-29 10:35:42 +08:00
committed by Dongjin Kim
parent 63775cf5db
commit 2018a9c504

View File

@@ -793,6 +793,9 @@ s32 vreal_init(struct vdec_s *vdec)
}
if (vreal_amstream_dec_info.format == VIDEO_DEC_FORMAT_REAL_8) {
if (vreal_amstream_dec_info.param == NULL) {
return -1;
}
load_block_data((void *)pic_sz_tbl, 12);
/* TODO: need to load the table into lmem */