projects
/
platform
/
core
/
api
/
image-util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b773b8f
)
Add src_size parameter for decoding gif
30/191430/1
author
jiyong.min
<jiyong.min@samsung.com>
Wed, 17 Oct 2018 05:50:01 +0000
(14:50 +0900)
committer
jiyong.min
<jiyong.min@samsung.com>
Wed, 17 Oct 2018 05:51:26 +0000
(14:51 +0900)
Change-Id: I937477cb2513458730feea7d4d271aabd16e0b29
src/image_util_decode.c
patch
|
blob
|
history
diff --git
a/src/image_util_decode.c
b/src/image_util_decode.c
index
10208b9
..
33a9bcd
100755
(executable)
--- a/
src/image_util_decode.c
+++ b/
src/image_util_decode.c
@@
-254,7
+254,7
@@
static int _image_util_decode_internal(decode_s * _handle, unsigned long *res_wi
if (_handle->path)
err = mm_util_decode_from_gif_file(_handle->path, &image_info);
else
- err = mm_util_decode_from_gif_memory(_handle->src_buffer[0], &image_info);
+ err = mm_util_decode_from_gif_memory(_handle->src_buffer[0],
(size_t)_handle->src_size,
&image_info);
}
break;
case IMAGE_UTIL_BMP: