aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_control.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-08-26 08:40:47 +0200
committerMax Kellermann <max@duempel.org>2008-08-26 08:40:47 +0200
commit1c03c721eae87077675ccafece4cf4b9fef0a1ac (patch)
tree4bcf498a294357553cc7f3dd3bf86cc31887a966 /src/decoder_control.c
parent9521c92f66c01a08526d14b92d581c858629101d (diff)
downloadmpd-1c03c721eae87077675ccafece4cf4b9fef0a1ac.tar.gz
mpd-1c03c721eae87077675ccafece4cf4b9fef0a1ac.tar.xz
mpd-1c03c721eae87077675ccafece4cf4b9fef0a1ac.zip
moved variable "dc" to decode.h
Now that "dc" is available here, we don't have to pass it to decoder_is_idle() and decoder_is_starting() anymore.
Diffstat (limited to '')
-rw-r--r--src/decoder_control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decoder_control.c b/src/decoder_control.c
index 1c92ba522..7fc04de7d 100644
--- a/src/decoder_control.c
+++ b/src/decoder_control.c
@@ -17,7 +17,8 @@
*/
#include "decode.h"
-#include "playerData.h"
+
+struct decoder_control dc;
void dc_command_wait(Notify *notify)
{