From 6dfa50d76e2910c4eee1bc87bb6f5513e61bec30 Mon Sep 17 00:00:00 2001 From: Juergen Keil Date: Sat, 1 Sep 2001 17:10:00 +0000 Subject: DEBUG buils, profiler code crashes with NULL pointer access CVS patchset: 539 CVS date: 2001/09/01 17:10:00 --- src/xine-engine/monitor.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/xine-engine/monitor.c') diff --git a/src/xine-engine/monitor.c b/src/xine-engine/monitor.c index abf026e07..7d9052dd7 100644 --- a/src/xine-engine/monitor.c +++ b/src/xine-engine/monitor.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: monitor.c,v 1.2 2001/08/14 11:57:40 guenter Exp $ + * $Id: monitor.c,v 1.3 2001/09/01 17:10:01 jkeil Exp $ * * debug print and profiling functions - implementation * @@ -38,16 +38,16 @@ #ifdef DEBUG -long long int profiler_times[MAX_ID+1] ; -long long int profiler_start[MAX_ID+1] ; -char * profiler_label[MAX_ID+1] ; +long long int profiler_times[MAX_ID] ; +long long int profiler_start[MAX_ID] ; +char * profiler_label[MAX_ID] ; void profiler_init () { int i; for (i=0; i