aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/song.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/song.c b/src/song.c
index a8ab4284f..920bf23a6 100644
--- a/src/song.c
+++ b/src/song.c
@@ -25,6 +25,7 @@
#include "path.h"
#include "playlist.h"
#include "inputPlugin.h"
+#include "decoder_api.h"
#include "myfprintf.h"
#define SONG_KEY "key: "
@@ -62,7 +63,7 @@ Song *newSong(const char *url, int type, Directory * parentDir)
assert(type == SONG_TYPE_URL || parentDir);
if (song->type == SONG_TYPE_FILE) {
- InputPlugin *plugin;
+ struct decoder_plugin *plugin;
unsigned int next = 0;
char path_max_tmp[MPD_PATH_MAX];
char *abs_path = rmp2amp_r(path_max_tmp,
@@ -286,7 +287,7 @@ void readSongInfoIntoList(FILE * fp, SongList * list, Directory * parentDir)
int updateSongInfo(Song * song)
{
if (song->type == SONG_TYPE_FILE) {
- InputPlugin *plugin;
+ struct decoder_plugin *plugin;
unsigned int next = 0;
char path_max_tmp[MPD_PATH_MAX];
char abs_path[MPD_PATH_MAX];