diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2017-02-14 17:11:45 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-02-14 17:11:45 +0000 |
commit | fd5c8e352a6bcebd18dc2c80f70691fca9d0bc5b (patch) | |
tree | c2b528d3ee3a67a4fbe5b86d26bb67a96a4e06da /decoder/ih264d_parse_pslice.c | |
parent | 43fa87413ae7cc71c5a55904f7df6f8d069ba1b4 (diff) | |
parent | 794400337150a7bd6b356c2fb9cb13632cae8d61 (diff) | |
download | android_external_libavc-fd5c8e352a6bcebd18dc2c80f70691fca9d0bc5b.tar.gz android_external_libavc-fd5c8e352a6bcebd18dc2c80f70691fca9d0bc5b.tar.bz2 android_external_libavc-fd5c8e352a6bcebd18dc2c80f70691fca9d0bc5b.zip |
Decoder: Moved end of pic processing to end of decode call am: 494561291a am: ba7f9e2aed am: 26bb8b98ee am: 89fa016b5f am: df2fa01c9e
am: 7944003371
Change-Id: I708b0d3bf0ec35c92ae58ac3b1efdfd8800b1ec2
Diffstat (limited to 'decoder/ih264d_parse_pslice.c')
-rw-r--r-- | decoder/ih264d_parse_pslice.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/decoder/ih264d_parse_pslice.c b/decoder/ih264d_parse_pslice.c index 11ae98d..171ed16 100644 --- a/decoder/ih264d_parse_pslice.c +++ b/decoder/ih264d_parse_pslice.c @@ -1459,7 +1459,7 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec, UWORD32 u1_mbaff = ps_slice->u1_mbaff_frame_flag; parse_part_params_t *ps_part_info; WORD32 ret; - + UNUSED(u1_is_idr_slice); if(ps_dec->ps_dec_err_status->u1_err_flag & REJECT_CUR_PIC) { @@ -1476,16 +1476,6 @@ WORD32 ih264d_mark_err_slice_skip(dec_struct_t * ps_dec, { /* first slice - missing/header corruption */ ps_dec->ps_cur_slice->u2_frame_num = u2_frame_num; - - - if(!ps_dec->u1_first_slice_in_stream) - { - ih264d_end_of_pic(ps_dec, u1_is_idr_slice, - ps_dec->ps_cur_slice->u2_frame_num); - ps_dec->s_cur_pic_poc.u2_frame_num = - ps_dec->ps_cur_slice->u2_frame_num; - } - { WORD32 i, j, poc = 0; |