Fix compilation problems in 'amp' plugin.

Four instances where 'default:' is at the end of a block replaced with
'default: break;' (reported by mscherer).

One typo where [j] should have been [1] (array out of bounds error).

Missing <unistd.h> includes for _exit(), and <string.h> for memcpy().
This commit is contained in:
Kevin Easton
2015-03-17 00:06:34 +11:00
parent 6898260809
commit 1c6ff3088a
5 changed files with 10 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include "audio.h"