prevent defects (275231, 275562) is fixed
Change-Id: Ia18640d45964f8a28a1d90589cf42ebbdb04e9dc
Signed-off-by: Sanghwa Park <senius.park@samsung.com>
unsigned int c_cnt, count, b_cnt;
vipx_enter();
- if (!test_bit(VS4L_CL_FLAG_PREPARE, &bundle->flags))
+ if (!test_bit(VS4L_CL_FLAG_PREPARE, &bundle->flags)) {
+ ret = -EINVAL;
+ vipx_err("bundle status is not prepare\n");
goto p_err;
+ }
con = bundle->clist.containers;
for (c_cnt = 0; c_cnt < bundle->clist.count; ++c_cnt) {
unsigned int c_cnt, count, b_cnt;
vertex_enter();
- if (!test_bit(VS4L_CL_FLAG_PREPARE, &bundle->flags))
+ if (!test_bit(VS4L_CL_FLAG_PREPARE, &bundle->flags)) {
+ ret = -EINVAL;
+ vertex_err("bundle status is not prepare\n");
goto p_err;
+ }
con = bundle->clist.containers;
for (c_cnt = 0; c_cnt < bundle->clist.count; ++c_cnt) {