]> err.no Git - linux-2.6/commit
[ALSA] seq_midi_event: fix encoding of data bytes after end of sysex
authorClemens Ladisch <clemens@ladisch.de>
Fri, 10 Aug 2007 07:38:36 +0000 (09:38 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 13:58:35 +0000 (15:58 +0200)
commit394d051686d846c6cd86fe086166a4ea5507ccb5
tree4917352ed93ec95cfcb48354e3134bd3cfa7e9e3
parent0f28ecd3323bb7df52e50493f78803fe4d61794a
[ALSA] seq_midi_event: fix encoding of data bytes after end of sysex

Create a new state ST_INVALID for the encoder to prevent data bytes at
the beginning of a stream or after a sysex message being interpreted as
note-off parameters.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/seq/seq_midi_event.c