aboutsummaryrefslogtreecommitdiffstats
path: root/mediaplugin
diff options
context:
space:
mode:
Diffstat (limited to 'mediaplugin')
-rw-r--r--mediaplugin/src/plugins/media/include/core/plugin_core.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/mediaplugin/src/plugins/media/include/core/plugin_core.h b/mediaplugin/src/plugins/media/include/core/plugin_core.h
index f0cb19da..e62dd21b 100644
--- a/mediaplugin/src/plugins/media/include/core/plugin_core.h
+++ b/mediaplugin/src/plugins/media/include/core/plugin_core.h
@@ -140,11 +140,11 @@ static const int g_audioSampleSize[] = {
4, // asfFloat
};
-struct audioFormatInfo_t {
+typedef struct audioFormatInfo_t {
double sampleRate;
uint8_t channels;
audioSampleFormat_t format;
-};
+} audioFormatInfo_t;
typedef struct{} audioDecodeStream_t;
typedef struct{} audioConvertStream_t;
@@ -208,7 +208,7 @@ typedef struct pluginInfo_t {
// plugin entry function (must be implemented by the plugin)
-DLL_EXPORT const pluginInfo_t* PLUGIN_CALL Plugin_register(const pluginCore_t *core);
+extern DLL_EXPORT const pluginInfo_t* PLUGIN_CALL Plugin_register(const pluginCore_t *core);
// must be provided by the plugin and initialized on plugin initialization
extern const pluginCore_t *pluginCore;