aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index 52e5075ff..82909fcc7 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -199,8 +199,9 @@ void decodeSeek(PlayerControl * pc, AudioFormat * af, DecoderControl * dc,
int decoderInit(PlayerControl * pc, Buffer * cb, AudioFormat *af,
DecoderControl * dc) {
+ int pid;
decode_pid = &(pc->decode_pid);
- int pid = fork();
+ pid = fork();
if(pid==0) {
/* CHILD */