summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2016-05-13 10:33:34 +0530
committerJessica Wagantall <jwagantall@cyngn.com>2016-07-08 16:23:20 -0700
commitd9befeb2c5884a5e17a99eda3dbc1ab1a9a6ab88 (patch)
treecb183674060cf9e3c73045da9c91c16f84813219
parent9e856a9c647dcfb47a0475c2000e4dfaa06ea661 (diff)
downloadandroid_external_libavc-d9befeb2c5884a5e17a99eda3dbc1ab1a9a6ab88.tar.gz
android_external_libavc-d9befeb2c5884a5e17a99eda3dbc1ab1a9a6ab88.tar.bz2
android_external_libavc-d9befeb2c5884a5e17a99eda3dbc1ab1a9a6ab88.zip
Decoder: Set u1_long_term_reference_flag to 0 for error concealment
For MBs which are in error, set u1_long_term_reference_flag to zero. This ensures latest frame is used for concealment Bug: 28470138 Ticket: CYNGNOS-3020 Change-Id: I58eab5bc1da277823f3dbb4103ba50867f8935dc (cherry picked from commit eacafb943c46399d648d0ce9ed01df7ed17686af) (cherry picked from commit c13a634044bd4df42f04f26f1e3475f702cbc2ab)
-rw-r--r--decoder/ih264d_parse_pslice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ih264d_parse_pslice.c b/decoder/ih264d_parse_pslice.c
index 8694a36..b023343 100644
--- a/decoder/ih264d_parse_pslice.c
+++ b/decoder/ih264d_parse_pslice.c
@@ -1462,7 +1462,7 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec,
ih264d_err_pic_dispbuf_mgr(ps_dec);
return 0;
}
-
+ ps_dec->ps_dpb_cmds->u1_long_term_reference_flag = 0;
if(prev_slice_err == 1)
{
/* first slice - missing/header corruption */