[MPlayer-dev-eng] libmpdemux/stream.h missing stdint.h?

Steven M. Schultz sms at 2BSD.COM
Sun Jan 6 08:12:03 CET 2002


Hi -

	During the nightly 'cvs update;./configure;gmake' I noticed that
	that the compile failed in libmpdemux with:

In file included from dec_audio.c:15:
libmpdemux/stream.h:99: syntax error before `stream_read_qword'
libmpdemux/stream.h: In function `stream_read_qword':
libmpdemux/stream.h:100: syntax error before `y'

	The problem appears to be a missing "#include <stdint.h>" to get
	the uint64_t data type.

	It's a trivial change:

--- libmpdemux/stream.h.dist	Sat Jan  5 23:02:17 2002
+++ libmpdemux/stream.h	Sat Jan  5 23:06:11 2002
@@ -1,6 +1,8 @@
 #ifndef __STREAM_H
 #define __STREAM_H
 
+#include <stdint.h>	// for uint64_t
+
 #define STREAM_BUFFER_SIZE 2048
 
 #define STREAMTYPE_FILE 0

	Steven Schultz
	sms at 2bsd.com



More information about the MPlayer-dev-eng mailing list