summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_api.c
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2016-05-24 13:11:51 -0700
committerThe Android Automerger <android-build@google.com>2016-05-27 11:30:02 -0700
commitcc676ebd95247646e67907ccab150fb77a847335 (patch)
tree960ea8167672017f1724c2f97a15ab56c1771ecd /decoder/ih264d_api.c
parentd4841f1161bdb5e13cb19e81af42437a634dd6ef (diff)
downloadandroid_external_libavc-cc676ebd95247646e67907ccab150fb77a847335.tar.gz
android_external_libavc-cc676ebd95247646e67907ccab150fb77a847335.tar.bz2
android_external_libavc-cc676ebd95247646e67907ccab150fb77a847335.zip
Fix slice params for interlaced video
Bug: 28165661 Change-Id: I912a86bd78ebf0617fd2bc6eb2b5a61afc17bf53
Diffstat (limited to 'decoder/ih264d_api.c')
-rw-r--r--decoder/ih264d_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c
index 82226f3..e2fa322 100644
--- a/decoder/ih264d_api.c
+++ b/decoder/ih264d_api.c
@@ -1103,6 +1103,7 @@ void ih264d_init_decoder(void * ps_dec_params)
(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);