summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-04 08:03:22 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-04 08:03:22 +0000
commit2da3f5a92f74f8cc017f80e45331076b53eb4f72 (patch)
tree75087bbcd0d258b9ddaf23ac0671f962b6d1b1d3
parent0500ba4d291c0ea346feabe139714acb476fe031 (diff)
parent3aced2a80eac8f0a0c131df9b42543637b0ee945 (diff)
downloadandroid_external_libavc-2da3f5a92f74f8cc017f80e45331076b53eb4f72.tar.gz
android_external_libavc-2da3f5a92f74f8cc017f80e45331076b53eb4f72.tar.bz2
android_external_libavc-2da3f5a92f74f8cc017f80e45331076b53eb4f72.zip
Snap for 4375922 from 3aced2a80eac8f0a0c131df9b42543637b0ee945 to pi-release
Change-Id: I7a4110a201b1a9f3db063bc41a60d49a3acd120b
-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;
}