Fix coverity issue - Structurally dead code 93/211693/1 accepted/tizen/unified/20190829.101451 submit/tizen/20190828.005256 submit/tizen/20190828.092209
authorJeongmo Yang <jm80.yang@samsung.com>
Thu, 8 Aug 2019 07:26:37 +0000 (16:26 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Thu, 8 Aug 2019 07:26:37 +0000 (16:26 +0900)
[Version] 0.1.13
[Profile] Common
[Issue Type] Bug fix

Change-Id: I6352f90fcccaf4c3fe65f8ee6ba7d44e1483e9aa
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
packaging/capi-media-tool.spec
src/media_format.c

index 4bfff173cd8cf7d77649c229140ce3b65df95359..ffdc4ca78fb484997fb111d5016f8f1fe882ec12 100755 (executable)
@@ -1,7 +1,7 @@
 Name:       capi-media-tool
 Summary:    A Core API media tool library in Tizen Native API
-Version:    0.1.12
-Release:    1
+Version:    0.1.13
+Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
index 60ea922cc1af516877c8068fe8b9a6ebebab10bc..f440fc49341950f8ab59b2f8e7dfc45fb318665e 100755 (executable)
@@ -876,7 +876,7 @@ int media_format_is_little_endian(media_format_h fmt, bool *is_little_endian)
        case MEDIA_FORMAT_PCM_U32BE:
                *is_little_endian = false;
                break;
-       deault:
+       default:
                LOGE("The format handle is not for PCM\n");
                return MEDIA_FORMAT_ERROR_INVALID_OPERATION;
        }
@@ -922,7 +922,7 @@ int media_format_get_audio_bit_depth(media_format_h fmt, int *bit_depth)
        case MEDIA_FORMAT_PCM_U32BE:
                *bit_depth = 32;
                break;
-       deault:
+       default:
                LOGE("The format handle is not for PCM\n");
                return MEDIA_FORMAT_ERROR_INVALID_OPERATION;
        }