87d0f96551
Fix socklen_t check in acinclude.m4 to work for OpenBSD (at least) Changelog: * Fixed some hangs that occured when seeking in MPEG files * Reworked the looping code - it should work better now * Fixed memory leak when sound was disabled * Widened initial search for audio streams in MPEG files * plaympeg now shows the name of the MPEG file in the caption * Added a check for the socklen_t type (was broken -pval) * Fixed crash with incorrectly encoded macroblock sequences * Fixed a crash when the MPEG file can't be opened * Fixed crash in gtv when seeking without a file loaded
16 lines
489 B
Plaintext
16 lines
489 B
Plaintext
$OpenBSD: patch-acinclude_m4,v 1.1 2001/06/28 00:56:58 pvalchev Exp $
|
|
--- acinclude.m4.orig Wed Apr 18 18:06:08 2001
|
|
+++ acinclude.m4 Wed Jun 27 18:29:43 2001
|
|
@@ -614,8 +614,9 @@ AC_DEFUN(AC_TYPE_SOCKLEN_T,
|
|
[AC_CACHE_CHECK([for socklen_t], ac_cv_type_socklen_t,
|
|
[
|
|
AC_TRY_COMPILE(
|
|
- [#include <sys/socket.h>],
|
|
- [socklen_t len = 42; return len;],
|
|
+ [#include <sys/types.h>
|
|
+ #include <sys/socket.h>],
|
|
+ [socklen_t x;],
|
|
ac_cv_type_socklen_t=yes,
|
|
ac_cv_type_socklen_t=no)
|
|
])
|