summaryrefslogtreecommitdiffstats
path: root/decoder/ih264d_api.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_api.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_api.c')
-rw-r--r--decoder/ih264d_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c
index b06623e..33fd11f 100644
--- a/decoder/ih264d_api.c
+++ b/decoder/ih264d_api.c
@@ -1919,7 +1919,7 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op)
ps_dec->u2_cur_slice_num = 0;
ps_dec->cur_dec_mb_num = 0;
ps_dec->cur_recon_mb_num = 0;
- ps_dec->u4_first_slice_in_pic = 2;
+ ps_dec->u4_first_slice_in_pic = 1;
ps_dec->u1_first_pb_nal_in_pic = 1;
ps_dec->u1_slice_header_done = 0;
ps_dec->u1_dangling_field = 0;