$OpenBSD: patch-modules_highgui_src_cap_ffmpeg_cpp,v 1.1.1.1 2011/06/24 09:30:21 jasper Exp $
--- modules/highgui/src/cap_ffmpeg.cpp.orig	Sun Dec  5 04:35:25 2010
+++ modules/highgui/src/cap_ffmpeg.cpp	Fri May  6 16:14:32 2011
@@ -610,7 +610,7 @@ IplImage* CvCapture_FFMPEG::retrieveFrame(int)
     return &frame;
 }
 
-#if defined(__APPLE__)
+#if defined(__APPLE__) || defined(__OpenBSD__)
 #define AV_NOPTS_VALUE_ ((int64_t)0x8000000000000000LL)
 #else
 #define AV_NOPTS_VALUE_ ((int64_t)AV_NOPTS_VALUE)
