summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-09 19:21:33 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-09 19:21:33 +0000
commit3c9a16af070c8f7b13b9c4f50fb697cce28dab1a (patch)
tree309a37d9df945f6c5d641e79993935ab794d639f
parent6b05b260444271b3b6ec2da0b56c0c8f8bb03f05 (diff)
parent5125a41d888a5b2e68d5e071cb5283e6b6eab235 (diff)
downloadandroid_external_libavc-3c9a16af070c8f7b13b9c4f50fb697cce28dab1a.tar.gz
android_external_libavc-3c9a16af070c8f7b13b9c4f50fb697cce28dab1a.tar.bz2
android_external_libavc-3c9a16af070c8f7b13b9c4f50fb697cce28dab1a.zip
Snap for 4384531 from 5125a41d888a5b2e68d5e071cb5283e6b6eab235 to oc-m2-release
Change-Id: Ib4a133d1e43f47b5a892f64b71fc34601c0e3759
-rw-r--r--decoder/ih264d_parse_slice.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/decoder/ih264d_parse_slice.c b/decoder/ih264d_parse_slice.c
index bdfccb6..2d8a9af 100644
--- a/decoder/ih264d_parse_slice.c
+++ b/decoder/ih264d_parse_slice.c
@@ -1382,9 +1382,8 @@ WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
if(ps_dec->u1_dangling_field == 1)
{
ps_dec->u1_second_field = 1 - ps_dec->u1_second_field;
- ps_cur_slice->u1_bottom_field_flag = u1_bottom_field_flag;
- ps_dec->u2_prv_frame_num = u2_frame_num;
ps_dec->u1_first_slice_in_stream = 0;
+ ps_dec->u1_top_bottom_decoded = TOP_FIELD_ONLY | BOT_FIELD_ONLY;
return ERROR_DANGLING_FIELD_IN_PIC;
}