summaryrefslogtreecommitdiff
path: root/src/seq
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2002-12-05 18:01:49 +0000
committerJaroslav Kysela <perex@perex.cz>2002-12-05 18:01:49 +0000
commite38dd1088004e2b4bfb8886c6d06198cf5b92a8f (patch)
treea177a0cdb0f89ce4b83a78069a0f90137b586c86 /src/seq
parent7fe18c95619ce8c425b3bcaf5448fded6fe1f788 (diff)
Fixed encoding of sysex sequencer event
Diffstat (limited to 'src/seq')
-rw-r--r--src/seq/seq_midi_event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seq/seq_midi_event.c b/src/seq/seq_midi_event.c
index c8339ca4..f8f7a75e 100644
--- a/src/seq/seq_midi_event.c
+++ b/src/seq/seq_midi_event.c
@@ -445,7 +445,7 @@ long snd_midi_event_decode(snd_midi_event_t *dev, unsigned char *buf, long count
case SNDRV_SEQ_EVENT_LENGTH_FIXED:
return -EINVAL; /* invalid event */
}
- memcpy(dev->buf, ev->data.ext.ptr, qlen);
+ memcpy(buf, ev->data.ext.ptr, qlen);
return qlen;
} else {
unsigned char xbuf[4];