summaryrefslogtreecommitdiff
path: root/multimedia/mpeg-lib/patches/patch-ao
blob: 0836b16dd59db80ac2428b67eeb8cb5458a9d229 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ao,v 1.2 2007/11/13 12:50:22 rillig Exp $

--- mpeg.h.orig	1999-07-24 06:32:06.000000000 +0200
+++ mpeg.h	2007-11-13 13:42:30.615567000 +0100
@@ -97,7 +97,7 @@ extern "C" {
  * Mixing and matching compilers, BTW, is not a good idea...)
  */
 #undef PROTO
-#if __STDC__ || __cplusplus
+#if __STDC__ || __cplusplus || defined(__STDC__)
 #define PROTO(formal_parameters) formal_parameters
 #else
 #define const
@@ -109,7 +109,7 @@ extern "C" {
 Boolean OpenMPEG PROTO((FILE *MPEGfile, ImageDesc *ImgInfo));
 void    CloseMPEG PROTO((void));
 Boolean RewindMPEG PROTO((FILE *MPEGfile, ImageDesc *Image));
-void    SetMPEGOption PROTO((MPEGOptionEnum Option, int value));
+void    SetMPEGOption PROTO((MPEGOptionEnum Option, long value));
 Boolean GetMPEGFrame PROTO((char *Frame));
 
 #ifdef __cplusplus