summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_parse_slice.c
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2016-05-23 18:49:09 +0000
committerandroid-build-merger <android-build-merger@google.com>2016-05-23 18:49:09 +0000
commitf34b7a27a290aa7a5736f08b0c5fa1a4e05c523a (patch)
tree5d0ab8255bcb8a590746e18d39b5964001ec9171 /decoder/ih264d_parse_slice.c
parentc6f7be0ea07336ffb92d5beab0d88bcdd03b5e43 (diff)
parent634b546f3494de42c4d94370fa7b36b2763087b1 (diff)
downloadandroid_external_libavc-f34b7a27a290aa7a5736f08b0c5fa1a4e05c523a.tar.gz
android_external_libavc-f34b7a27a290aa7a5736f08b0c5fa1a4e05c523a.tar.bz2
android_external_libavc-f34b7a27a290aa7a5736f08b0c5fa1a4e05c523a.zip
Decoder: Initialize slice parameters before concealing error MBs am: 33db7a0f4e am: 129a6006b4 am: fc855de43f
am: 634b546f34 * commit '634b546f3494de42c4d94370fa7b36b2763087b1': Decoder: Initialize slice parameters before concealing error MBs Change-Id: I9b919624c7914e7e8ef4607dd7bd5a763eff3e0f
Diffstat (limited to 'decoder/ih264d_parse_slice.c')
-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 fa85aa1..5ff92f8 100644
--- a/decoder/ih264d_parse_slice.c
+++ b/decoder/ih264d_parse_slice.c
@@ -719,7 +719,7 @@ WORD32 ih264d_start_of_pic(dec_struct_t *ps_dec,
ps_dec->u4_deblk_mb_x = 0;
ps_dec->u4_deblk_mb_y = 0;
-
+ ps_dec->pu4_wt_ofsts = ps_dec->pu4_wts_ofsts_mat;
H264_MUTEX_UNLOCK(&ps_dec->process_disp_mutex);
return OK;
@@ -1869,7 +1869,6 @@ WORD32 ih264d_parse_decode_slice(UWORD8 u1_is_idr_slice,
ps_dec->pv_proc_tu_coeff_data = ps_dec->pv_parse_tu_coeff_data;
}
- ps_dec->pu4_wt_ofsts = ps_dec->pu4_wts_ofsts_mat;
if(u1_slice_type == I_SLICE)
{
ps_dec->ps_cur_pic->u4_pack_slc_typ |= I_SLC_BIT;