[Mplayer-cvslog] CVS: main/libmpcodecs ad_ffmpeg.c,1.14,1.15

Alex Beregszaszi syncmail at mplayerhq.hu
Tue Apr 6 18:15:59 CEST 2004


CVS change done by Alex Beregszaszi

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

Modified Files:
	ad_ffmpeg.c 
Log Message:
inttypes

Index: ad_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_ffmpeg.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- ad_ffmpeg.c	18 Feb 2004 15:23:41 -0000	1.14
+++ ad_ffmpeg.c	6 Apr 2004 16:15:57 -0000	1.15
@@ -143,7 +143,7 @@
 	int len2=0;
 	int x=ds_get_packet(sh_audio->ds,&start);
 	if(x<=0) break; // error
-	y=avcodec_decode_audio(sh_audio->context,(INT16*)buf,&len2,start,x);
+	y=avcodec_decode_audio(sh_audio->context,(int16_t*)buf,&len2,start,x);
 //printf("return:%d samples_out:%d bitstream_in:%d sample_sum:%d\n", y, len2, x, len); fflush(stdout);
 	if(y<0){ mp_msg(MSGT_DECAUDIO,MSGL_V,"lavc_audio: error\n");break; }
 	if(y<x) sh_audio->ds->buffer_pos+=y-x;  // put back data (HACK!)




More information about the MPlayer-cvslog mailing list