libmmfile_formats_la_DEPENDENCIES = $(top_builddir)/utils/libmmfile_utils.la
-noinst_HEADERS = include/mm_file_format_dummy.h \
- include/mm_file_format_aac.h \
+noinst_HEADERS = include/mm_file_format_aac.h \
include/mm_file_format_amr.h \
include/mm_file_format_imelody.h \
include/mm_file_format_midi.h \
include/mm_file_format_private.h
libmmfile_formats_la_SOURCES = mm_file_formats.c \
- mm_file_format_dummy.c \
mm_file_format_ffmpeg.c \
mm_file_format_mp3.c \
mm_file_format_aac.c \
+++ /dev/null
-/*
- * libmm-fileinfo
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Haejeong Kim <backto.kim@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#ifndef __MM_FILE_FORMAT_DUMMY_H__
-#define __MM_FILE_FORMAT_DUMMY_H__
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /*__MM_FILE_FORMAT_DUMMY_H__*/
-
+++ /dev/null
-/*
- * libmm-fileinfo
- *
- * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
- *
- * Contact: Haejeong Kim <backto.kim@samsung.com>
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
- */
-
-#include <string.h> /*memcmp*/
-#include <stdlib.h> /*malloc*/
-
-#include "mm_file_debug.h"
-#include "mm_file_format_private.h"
-#include "mm_file_format_dummy.h"
-
-
-/* internal functions */
-
-
-/* plugin manadatory API */
-int mmfile_format_read_stream_dummy(MMFileFormatContext *formatContext);
-int mmfile_format_read_frame_dummy(MMFileFormatContext *formatContext, unsigned int timestamp, MMFileFormatFrame *frame);
-int mmfile_format_read_tag_dummy(MMFileFormatContext *formatContext);
-int mmfile_format_close_dummy(MMFileFormatContext *formatContext);
-
-
-
-int mmfile_format_open_dummy(MMFileFormatContext *formatContext)
-{
- debug_warning(DEBUG, "called mmfile_format_open_dummy\n");
-
- formatContext->ReadStream = mmfile_format_read_stream_dummy;
- formatContext->ReadFrame = mmfile_format_read_frame_dummy;
- formatContext->ReadTag = mmfile_format_read_tag_dummy;
- formatContext->Close = mmfile_format_close_dummy;
-
- return MMFILE_FORMAT_SUCCESS;
-}
-
-
-int mmfile_format_read_stream_dummy(MMFileFormatContext *formatContext)
-{
- debug_warning(DEBUG, "called mmfile_format_read_stream_dummy\n");
- return MMFILE_FORMAT_SUCCESS;
-}
-
-
-int mmfile_format_read_frame_dummy(MMFileFormatContext *formatContext, unsigned int timestamp, MMFileFormatFrame *frame)
-{
- debug_warning(DEBUG, "called mmfile_format_read_frame_dummy\n");
- return MMFILE_FORMAT_SUCCESS;
-}
-
-
-int mmfile_format_read_tag_dummy(MMFileFormatContext *formatContext)
-{
- debug_warning(DEBUG, "called mmfile_format_read_tag_dummy\n");
- return MMFILE_FORMAT_SUCCESS;
-}
-
-
-int mmfile_format_close_dummy(MMFileFormatContext *formatContext)
-{
- debug_warning(DEBUG, "called mmfile_format_close_dummy\n");
- if (formatContext) {
- formatContext->ReadStream = NULL;
- formatContext->ReadFrame = NULL;
- formatContext->ReadTag = NULL;
- formatContext->Close = NULL;
- }
-
- return MMFILE_FORMAT_SUCCESS;
-}
-