summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_parse_headers.c
diff options
context:
space:
mode:
authorHarish Mahendrakar <harish.mahendrakar@ittiam.com>2017-02-14 17:13:37 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-02-14 17:13:37 +0000
commit9117d918dda60f5c125e45f4adc1d2fe6cf15cd7 (patch)
treed2b7b5c5a1216bd1cd52e9a8e140b97846d72519 /decoder/ih264d_parse_headers.c
parentfd5c8e352a6bcebd18dc2c80f70691fca9d0bc5b (diff)
parent94e17dc82295b9049a59e28263763c2beee2498e (diff)
downloadandroid_external_libavc-9117d918dda60f5c125e45f4adc1d2fe6cf15cd7.tar.gz
android_external_libavc-9117d918dda60f5c125e45f4adc1d2fe6cf15cd7.tar.bz2
android_external_libavc-9117d918dda60f5c125e45f4adc1d2fe6cf15cd7.zip
Decoder: Fixed initialization of first_slice_in_pic am: 0b23c81c3d am: 16fa990ce1 am: ab79eb3973 am: a37d120eb2 am: c011eeade7
am: 94e17dc822 Change-Id: I41f7075004b024988d94b53be3a0b49b992e8da4
Diffstat (limited to 'decoder/ih264d_parse_headers.c')
-rw-r--r--decoder/ih264d_parse_headers.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/decoder/ih264d_parse_headers.c b/decoder/ih264d_parse_headers.c
index 5fc38e3..1403408 100644
--- a/decoder/ih264d_parse_headers.c
+++ b/decoder/ih264d_parse_headers.c
@@ -1116,13 +1116,6 @@ WORD32 ih264d_parse_nal_unit(iv_obj_t *dec_hdl,
== IDR_SLICE_NAL),
u1_nal_ref_idc, ps_dec);
- if((ps_dec->u4_first_slice_in_pic != 0)&&
- ((ps_dec->ps_dec_err_status->u1_err_flag & REJECT_CUR_PIC) == 0))
- {
- /* if the first slice header was not valid set to 1 */
- ps_dec->u4_first_slice_in_pic = 1;
- }
-
if(i_status != OK)
{
return i_status;