Fix slice params for interlaced video
Bug: 28165661
Change-Id: I912a86bd78ebf0617fd2bc6eb2b5a61afc17bf53
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c
index 255b4cd..8dc9daf 100644
--- a/decoder/ih264d_api.c
+++ b/decoder/ih264d_api.c
@@ -1631,6 +1631,7 @@
(MAX_DISP_BUFS_NEW) * sizeof(UWORD32));
memset(ps_dec->u4_disp_buf_to_be_freed, 0,
(MAX_DISP_BUFS_NEW) * sizeof(UWORD32));
+ memset(ps_dec->ps_cur_slice, 0, sizeof(dec_slice_params_t));
ih264d_init_arch(ps_dec);
ih264d_init_function_ptr(ps_dec);