openbsd-ports/multimedia/xine-lib/patches/patch-src_input_libreal_real_c
jakemsr df581e9d78 initial import of xine-lib
xine is a free multimedia player. It plays back CDs, DVDs, and VCDs. It
also decodes multimedia files like AVI, MOV, WMV, and MP3 from local
disk drives, and displays multimedia streamed over the Internet. It
interprets many of the most common multimedia formats available - and
some of the most uncommon formats, too.

prodded by jolan@ and bernd@
2006-03-24 22:43:41 +00:00

15 lines
503 B
Plaintext

$OpenBSD: patch-src_input_libreal_real_c,v 1.1.1.1 2006/03/24 22:43:41 jakemsr Exp $
--- src/input/libreal/real.c.orig Thu Jan 5 00:55:43 2006
+++ src/input/libreal/real.c Thu Jan 5 00:56:17 2006
@@ -50,8 +50,9 @@ const unsigned char xor_table[] = {
#define BE_32C(x,y) do { *(uint32_t *)(x) = be2me_32((y)); } while(0)
#define LE_32C(x,y) do { *(uint32_t *)(x) = le2me_32((y)); } while(0)
+#ifndef MAX
#define MAX(x,y) ((x>y) ? x : y)
-
+#endif
static void hash(char *field, char *param) {