bug fix. improper use of negative value 17/259617/2
authorJiyong Min <jiyong.min@samsung.com>
Thu, 10 Jun 2021 07:58:27 +0000 (16:58 +0900)
committerJiyong Min <jiyong.min@samsung.com>
Fri, 11 Jun 2021 01:22:55 +0000 (10:22 +0900)
commitd7af11739eed1e942718eaab1048bfb2dd371541
treeb8296c9d752515fb34d7ffde73f33e0c66d327d8
parent20ced4608bf77c7f9f8fc9d6a95888391a80bb69
bug fix. improper use of negative value

  - fix coverity issue
  'av_image_get_buffer_size()' function can return negative value.
  So it is necessary to check negative value before using it.

Change-Id: I24fb99ffb49c1e9d0ae6185460b1c9fe8e0d1878
src/heif_decode_ffmpeg.c