summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-04 07:20:59 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-04 07:20:59 +0000
commit5125a41d888a5b2e68d5e071cb5283e6b6eab235 (patch)
tree309a37d9df945f6c5d641e79993935ab794d639f
parentde302240cd15de4767c11bc429a977fd91a963c3 (diff)
parenta2d796cf560716fd46a67753022f6ae13b8675d3 (diff)
downloadandroid_external_libavc-5125a41d888a5b2e68d5e071cb5283e6b6eab235.tar.gz
android_external_libavc-5125a41d888a5b2e68d5e071cb5283e6b6eab235.tar.bz2
android_external_libavc-5125a41d888a5b2e68d5e071cb5283e6b6eab235.zip
Snap for 4376088 from a2d796cf560716fd46a67753022f6ae13b8675d3 to oc-mr1-release
Change-Id: Ib88fca8164e0a459338c57ffb17952ce72772ee0
-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;
}