summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_parse_pslice.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_parse_pslice.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_parse_pslice.c')
-rw-r--r--decoder/ih264d_parse_pslice.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/decoder/ih264d_parse_pslice.c b/decoder/ih264d_parse_pslice.c
index 5f6f63f..a589d84 100644
--- a/decoder/ih264d_parse_pslice.c
+++ b/decoder/ih264d_parse_pslice.c
@@ -1495,8 +1495,6 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec,
j = i;
{
//initialize slice params required by ih264d_start_of_pic to valid values
- ps_dec->ps_cur_slice->u1_bottom_field_flag = 0;
- ps_dec->ps_cur_slice->u1_field_pic_flag = 0;
ps_dec->ps_cur_slice->u1_slice_type = P_SLICE;
ps_dec->ps_cur_slice->u1_nal_ref_idc = 1;
ps_dec->ps_cur_slice->u1_nal_unit_type = 1;