projects
/
framework
/
osp
/
image-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
295f357
)
Fixed invalid read (mismatched type casting)
author
JungYumin
<y_m.jung@samsung.com>
Thu, 23 May 2013 02:25:47 +0000
(11:25 +0900)
committer
JungYumin
<y_m.jung@samsung.com>
Thu, 23 May 2013 02:27:24 +0000
(11:27 +0900)
Change-Id: Ica20b07f8a87735935e16a0de7e327396570911b
Signed-off-by: JungYumin <y_m.jung@samsung.com>
src/FMedia_GifDecoder.cpp
patch
|
blob
|
history
diff --git
a/src/FMedia_GifDecoder.cpp
b/src/FMedia_GifDecoder.cpp
index
536595b
..
76cb69b
100644
(file)
--- a/
src/FMedia_GifDecoder.cpp
+++ b/
src/FMedia_GifDecoder.cpp
@@
-297,7
+297,7
@@
_GifDecoder::DecodeOneFrame(unsigned char* pDstBuffer, unsigned int length)
{
if (__transparent)
{
- __chromaKey = ((unsigned
in
t*) pPalette)[__transColor];
+ __chromaKey = ((unsigned
shor
t*) pPalette)[__transColor];
}
for (count = 0, loopIndex = 0; loopIndex < 4; loopIndex++)