projects
/
platform
/
core
/
multimedia
/
libmedia-thumbnail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51e3153
)
img_codec_osal: print error log before returning
78/31078/2
author
Ravi Kiran K N
<ravi.kiran@samsung.com>
Mon, 1 Dec 2014 09:37:51 +0000
(15:07 +0530)
committer
hj kim
<backto.kim@samsung.com>
Tue, 14 Jul 2015 01:15:20 +0000
(18:15 -0700)
thumb_err in function DrmOpenFile() is unreachable as it is
after return statement. Print the error log before return
Change-Id: Id37e80a5cf3433d8541f26d49d78f7dd842103cd
Signed-off-by: Ravi Kiran K N <ravi.kiran@samsung.com>
src/codec/img-codec-osal.c
patch
|
blob
|
history
diff --git
a/src/codec/img-codec-osal.c
b/src/codec/img-codec-osal.c
index
cefe59f
..
9a257fa
100644
(file)
--- a/
src/codec/img-codec-osal.c
+++ b/
src/codec/img-codec-osal.c
@@
-69,8
+69,8
@@
HFile DrmOpenFile(const char *szPathName)
FILE *fp = fopen(szPathName, "rb");
if (fp == NULL) {
- return (HFile) INVALID_HOBJ;
thumb_err("file open error: %s", szPathName);
+ return (HFile) INVALID_HOBJ;
}
return fp;