[MPlayer-cvslog] CVS: main/libmpcodecs ae.c,1.8,1.9 ae.h,1.3,1.4

Oded Shimon CVS syncmail at mplayerhq.hu
Wed Dec 7 11:07:30 CET 2005


CVS change done by Oded Shimon CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv27274/libmpcodecs

Modified Files:
	ae.c ae.h 
Log Message:
more warning fixes


Index: ae.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ae.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- ae.c	18 Nov 2005 14:39:21 -0000	1.8
+++ ae.c	7 Dec 2005 10:07:27 -0000	1.9
@@ -82,7 +82,7 @@
 		return NULL;
 	}
 	encoder->bind(encoder, stream);
-	encoder->decode_buffer = (int*)malloc(encoder->decode_buffer_size);
+	encoder->decode_buffer = malloc(encoder->decode_buffer_size);
 	if(! encoder->decode_buffer)
 	{
 		free(encoder);

Index: ae.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ae.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ae.h	7 May 2005 14:49:18 -0000	1.3
+++ ae.h	7 Dec 2005 10:07:27 -0000	1.4
@@ -29,7 +29,7 @@
 	int audio_preload;	//in ms
 	int input_format;
 	int min_buffer_size, max_buffer_size;	//for init_audio_filters
-	int *decode_buffer;
+	unsigned char *decode_buffer;
 	int decode_buffer_size;
 	int decode_buffer_len;
 	void *priv;




More information about the MPlayer-cvslog mailing list