diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2016-07-14 01:37:54 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-07-14 01:37:54 +0000 |
commit | b424a5e10159c4f6d1c3dbf23e3802b5db8a27fd (patch) | |
tree | ea40ce2ebac48dfbc3c8fcda05bc187a0555279b | |
parent | ba8f1f9ef332df92d688fc937d9af7371f9b07f9 (diff) | |
parent | 9836aa04a98e8e3f919cbbd97cd6cf5b04ca7045 (diff) | |
download | libavc-b424a5e10159c4f6d1c3dbf23e3802b5db8a27fd.tar.gz |
Fixed error concealment when no MBs are decoded in the current pic am: b926905ee2 am: ff54ee6115 am: 9fca73a55e am: 19080458baandroid-7.1.0_r4android-7.1.0_r3android-7.1.0_r2android-7.1.0_r1
am: 9836aa04a9
Change-Id: I7a2f3551c304c180df9e05b06de9de7bef0b9436
-rw-r--r-- | decoder/ih264d_api.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c index ab9da1c..347472c 100644 --- a/decoder/ih264d_api.c +++ b/decoder/ih264d_api.c @@ -2173,6 +2173,9 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op) else prev_slice_err = 2; + if(ps_dec->u4_first_slice_in_pic && (ps_dec->u2_total_mbs_coded == 0)) + prev_slice_err = 1; + ret1 = ih264d_mark_err_slice_skip(ps_dec, num_mb_skipped, ps_dec->u1_nal_unit_type == IDR_SLICE_NAL, ps_dec->ps_cur_slice->u2_frame_num, &temp_poc, prev_slice_err); |