SourceForge: mpc123/mpc123: changeset 6:2cf665fae437
Solved a year-old bug \o/
authorFernando Vezzosi <fvezzosi@masobit.net>
Fri Mar 21 21:09:06 2008 +0000 (20 months ago)
changeset 62cf665fae437
parent 5b5c7e08f463a
child 7f50dbd0d624d
Solved a year-old bug \o/
Keywords:

Happy eastern, everybody! Uninitialized variables and pointers were driving us
nuts .. But our brave developers found the way to the bugless player!
ao.c
mpc123.c
mpc123.h
     1.1 --- a/ao.c	Tue Mar 18 19:04:47 2008 +0000
     1.2 +++ b/ao.c	Fri Mar 21 21:09:06 2008 +0000
     1.3 @@ -67,6 +67,9 @@
     1.4  
     1.5    *d=malloc(sizeof(mpc123_ao_data));
     1.6    mpc123_ao_data * data=(mpc123_ao_data *) *d;
     1.7 +
     1.8 +  data->output_buffer=NULL;
     1.9 +  data->output_buffer_size=0U;
    1.10    
    1.11    ao_initialize();
    1.12  
     2.1 --- a/mpc123.c	Tue Mar 18 19:04:47 2008 +0000
     2.2 +++ b/mpc123.c	Fri Mar 21 21:09:06 2008 +0000
     2.3 @@ -26,6 +26,7 @@
     2.4  #include <unistd.h>
     2.5  #include <stdarg.h>
     2.6  #include <fcntl.h>
     2.7 +#include <locale.h>
     2.8  #include <libintl.h>
     2.9  
    2.10  #include "mpc123.h"
     3.1 --- a/mpc123.h	Tue Mar 18 19:04:47 2008 +0000
     3.2 +++ b/mpc123.h	Fri Mar 21 21:09:06 2008 +0000
     3.3 @@ -44,7 +44,7 @@
     3.4   */
     3.5  #  define VERS_MAJOR	0
     3.6  #  define VERS_MINOR	2
     3.7 -#  define VERS_REV	3
     3.8 +#  define VERS_REV	4
     3.9  
    3.10  #  define COPYRIGHT_NOTICE VERS_NAME " Copyright " COPYRIGHT "\n" \
    3.11  	"This is free software, meaning it comes under the terms of the\n" \