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

Reimar Döffinger CVS syncmail at mplayerhq.hu
Fri Apr 22 20:38:49 CEST 2005


CVS change done by Reimar Döffinger CVS

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

Modified Files:
	ae.c 
Log Message:
gcc 2.95 compilation fix


Index: ae.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ae.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ae.c	22 Apr 2005 17:53:31 -0000	1.3
+++ ae.c	22 Apr 2005 18:38:47 -0000	1.4
@@ -26,10 +26,11 @@
 audio_encoder_t *new_audio_encoder(muxer_stream_t *stream, audio_encoding_params_t *params)
 {
 	int ris;
+	audio_encoder_t *encoder;
 	if(! params)
 		return NULL;
 	
-	audio_encoder_t *encoder = (audio_encoder_t *) calloc(1, sizeof(audio_encoder_t));
+	encoder = (audio_encoder_t *) calloc(1, sizeof(audio_encoder_t));
 	memcpy(&encoder->params, params, sizeof(audio_encoding_params_t));
 	encoder->stream = stream;
 	




More information about the MPlayer-cvslog mailing list