Fix coverity issue 18/152818/2 accepted/tizen/unified/20171010.063616 submit/tizen/20170928.044334
authorJeongmo Yang <jm80.yang@samsung.com>
Wed, 27 Sep 2017 07:10:46 +0000 (16:10 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Wed, 27 Sep 2017 07:19:45 +0000 (16:19 +0900)
commitaa254c75e23e89333f23a3f97d6e4222eb2e3f9e
tree71cccdd8bb75732ca8c266dd25e1a3e94544200e
parent2346b3b68b30361668e3de0b882cdf4294cd0a25
Fix coverity issue

- Nesting level does not match indentation
- Logically dead code
- Wrong sizeof argument
- Unchecked return value from library

[Version] 0.10.136
[Profile] Common
[Issue Type]
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-unified_20170926.2]

Change-Id: I3ed8bc8c8e9d7c48db93fcb2cc8bf44d6bdabaf7
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/libmm-camcorder.spec
src/include/mm_camcorder_internal.h
src/mm_camcorder_stillshot.c
src/mm_camcorder_videorec.c