It was used without glib declaration. (provided by mm_file.h)
Change-Id: Iaf859fb408cf2d5e2eb87787e0617a7b5601c150
Signed-off-by: minje.ahn <minje.ahn@samsung.com>
#ifndef __TIZEN_MULTIMEDIA_METADATA_EXTRACTOR_PRIVATE_H__
#define __TIZEN_MULTIMEDIA_METADATA_EXTRACTOR_PRIVATE_H__
+#include <stdlib.h>
#include <stdbool.h>
+#include <string.h>
#include <mm_types.h>
#include <dlog.h>
#define LOG_TAG "CAPI_MEDIA_METADATA_EXTRACTOR"
#define SAFE_FREE(src) { if (src) {free(src); src = NULL; } }
-#define ME_STRING_VALID(str) ((str != NULL && strlen(str) > 0) ? TRUE : FALSE)
+#define ME_STRING_VALID(str) (str != NULL && strlen(str) > 0)
#define metadata_extractor_debug(fmt, arg...) do { \
LOGD(""fmt"", ##arg); \
}
#endif /* __cplusplus */
#endif /*__TIZEN_MULTIMEDIA_METADATA_EXTRACTOR_PRIVATE_H__*/
-
Name: capi-media-metadata-extractor
Summary: A media metadata extractor library in Tizen Native API
-Version: 0.1.20
-Release: 1
+Version: 0.1.21
+Release: 0
Group: Multimedia/API
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
* limitations under the License.
*/
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
+#include <glib.h>
#include <inttypes.h>
#include <mm_file.h>
-#include <metadata_extractor.h>
-#include <metadata_extractor_private.h>
+
+#include "metadata_extractor.h"
+#include "metadata_extractor_private.h"
typedef enum {
- METADATA_TYPE_STREAM = 0,
+ METADATA_TYPE_STREAM = 0,
METADATA_TYPE_ATTR,
METADATA_TYPE_TAG,
} metadata_extractor_type_e;