diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2017-01-09 17:22:48 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-01-09 17:22:48 +0000 |
commit | cdb1b16a4595a262a4738cffc8a7286e37dff4d5 (patch) | |
tree | 070c0182e18d296e2431df3eb121b025882772d1 /decoder/ih264d_api.c | |
parent | 243794c5d23fd45aba49fd8adea948693f6b7350 (diff) | |
parent | 40ebdfd0fb63700c1f667985921f76c6466ce566 (diff) | |
download | android_external_libavc-cdb1b16a4595a262a4738cffc8a7286e37dff4d5.tar.gz android_external_libavc-cdb1b16a4595a262a4738cffc8a7286e37dff4d5.tar.bz2 android_external_libavc-cdb1b16a4595a262a4738cffc8a7286e37dff4d5.zip |
Call ih264d_deblock_display only for valid process calls am: 318368435f am: 2c71fb1941 am: d2977b77e3 am: d66e74cdbf
am: 40ebdfd0fb
Change-Id: I363759fc9520fd49f2b365d42e578e10d858db04
Diffstat (limited to 'decoder/ih264d_api.c')
-rw-r--r-- | decoder/ih264d_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/decoder/ih264d_api.c b/decoder/ih264d_api.c index 09c0d5e..4a81465 100644 --- a/decoder/ih264d_api.c +++ b/decoder/ih264d_api.c @@ -2318,7 +2318,8 @@ WORD32 ih264d_video_decode(iv_obj_t *dec_hdl, void *pv_api_ip, void *pv_api_op) /* if new frame in not found (if we are still getting slices from previous frame) * ih264d_deblock_display is not called. Such frames will not be added to reference /display */ - if((ps_dec->ps_dec_err_status->u1_err_flag & REJECT_CUR_PIC) == 0) + if (((ps_dec->ps_dec_err_status->u1_err_flag & REJECT_CUR_PIC) == 0) + && (ps_dec->u4_pic_buf_got == 1)) { /* Calling Function to deblock Picture and Display */ ret = ih264d_deblock_display(ps_dec); |