diff options
author | Harish Mahendrakar <harish.mahendrakar@ittiam.com> | 2016-02-01 15:08:19 +0530 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2016-03-01 15:25:08 -0800 |
commit | 50a580a2f581cac3de9603fc204ccdd985414179 (patch) | |
tree | 14c8b819ac6b2838b54ae55fe52348faca0c117d /decoder/ih264d_cabac_init_tables.c | |
parent | 64112d21e356f999c7c8e4d11fbdaee29898f931 (diff) | |
download | android_external_libavc-50a580a2f581cac3de9603fc204ccdd985414179.tar.gz android_external_libavc-50a580a2f581cac3de9603fc204ccdd985414179.tar.bz2 android_external_libavc-50a580a2f581cac3de9603fc204ccdd985414179.zip |
Ensure ih264d_start_of_pic() is not repeated in ih264d_mark_err_slice_skip()
In case of error in handling MMCO commpands/reference list creation,
ih264d_start_of_pic() was called again in ih264d_mark_err_slice_skip() resulting in
leaking a picture or an MV buffer in buffer manager.
To fix this, ensure prev_slice_err is set to 1 only if u4_pic_buf_got is zero, before
calling ih264d_mark_err_slice_skip() at the end of picture decode.
This will ensure ih264d_start_of_pic() is not repeated
Bug: 25818142
Change-Id: I7d5a9179533581eec663bc6a19a2901e7cce6af3
Diffstat (limited to 'decoder/ih264d_cabac_init_tables.c')
0 files changed, 0 insertions, 0 deletions