diff --git a/libao2/ao_plugin.c b/libao2/ao_plugin.c index 72910062f5..9c84ce4d05 100644 --- a/libao2/ao_plugin.c +++ b/libao2/ao_plugin.c @@ -159,7 +159,7 @@ static int init(int rate,int channels,int format,int flags){ if(!ok) return 0; - // Allocate output buffer */ + // Allocate output buffer if(ao_plugin_local_data.buf) free(ao_plugin_local_data.buf); ao_plugin_local_data.buf=malloc(MAX_OUTBURST); diff --git a/libao2/pl_delay.c b/libao2/pl_delay.c index 70c5a37c69..3d0f457dc4 100644 --- a/libao2/pl_delay.c +++ b/libao2/pl_delay.c @@ -101,18 +101,16 @@ static void reset(){ // processes 'ao_plugin_data.len' bytes of 'data' // called for every block of data static int play(){ - int i=0; - int j=0; - int k=0; // Copy end of prev block to begining of buffer - for(i=0;i