diff options
author | Haejeong Kim <backto.kim@samsung.com> | 2017-06-21 12:30:16 +0900 |
---|---|---|
committer | Haejeong Kim <backto.kim@samsung.com> | 2017-06-21 12:30:16 +0900 |
commit | 8ecadd7637f7da73ae44b691a1727208fecc145b (patch) | |
tree | 7a536c2d83322f317d282c15f4bb2cd51fb1ebf3 /src | |
parent | 1302749f9709ea9e9cd9cd65380a409a472069cb (diff) | |
download | libmedia-thumbnail-submit/tizen/20170621.064821.tar.gz libmedia-thumbnail-submit/tizen/20170621.064821.tar.bz2 libmedia-thumbnail-submit/tizen/20170621.064821.zip |
fix invalid format argument types for dlogsubmit/tizen/20170622.044226submit/tizen/20170621.064821accepted/tizen/unified/20170630.083306
Change-Id: I5b268111167b31d70835835234bb9c9a19b44d5a
Diffstat (limited to 'src')
-rwxr-xr-x | src/codec/img-codec-parser.c | 4 | ||||
-rwxr-xr-x | src/media-thumb-internal.c | 2 | ||||
-rwxr-xr-x | src/util/media-thumb-util.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/codec/img-codec-parser.c b/src/codec/img-codec-parser.c index 2b50e3a..70f9587 100755 --- a/src/codec/img-codec-parser.c +++ b/src/codec/img-codec-parser.c @@ -422,11 +422,11 @@ static int _ImgGetImageInfo(HFile hFile, unsigned long fileSize, char *fileExt, #if 1 if (imagecount == 0) { /* Regard the width/height of the first image block as the size of thumbnails. */ - int img_block_w, img_block_h; + int img_block_w = 0, img_block_h = 0; img_block_w = EncodedDataBuffer[ifegstreamctrl.buffpos + 4] |(EncodedDataBuffer[ifegstreamctrl.buffpos + 5] << 8); img_block_h = EncodedDataBuffer[ifegstreamctrl.buffpos + 6] |(EncodedDataBuffer[ifegstreamctrl.buffpos + 7] << 8); - thumb_dbg("Image block width : %d, Height : %d, left : %d, top : %d", img_block_w, img_block_h); + thumb_dbg("Image block width : %d, Height : %d", img_block_w, img_block_h); *pWidth = img_block_w; *pHeight = img_block_h; diff --git a/src/media-thumb-internal.c b/src/media-thumb-internal.c index 9debe27..ed85c68 100755 --- a/src/media-thumb-internal.c +++ b/src/media-thumb-internal.c @@ -1146,7 +1146,7 @@ int _media_thumb_video(const char *origin_path, thumb_dbg("video width: %d", width); thumb_dbg("video height: %d", height); thumb_dbg("thumbnail size: %d", size); - thumb_dbg("frame: 0x%x", frame); + thumb_dbg("frame: %p", frame); thumb_dbg("orientation: %d", rot_type); if (frame == NULL || width == 0 || height == 0) { diff --git a/src/util/media-thumb-util.c b/src/util/media-thumb-util.c index b026ce9..5c4afb7 100755 --- a/src/util/media-thumb-util.c +++ b/src/util/media-thumb-util.c @@ -100,7 +100,7 @@ int _media_thumb_remove_file(const char *path) thumb_dbg("success to remove file"); return TRUE; } else { - thumb_stderror("fail to remove file[%s] result"); + thumb_stderror("fail to remove file"); return FALSE; } } |