openbsd-ports/www/gnash/patches/patch-server_asobj_NetStreamFfmpeg_h
jakemsr 9c84a00f56 prepare for newer ffmpeg which no longer wrap headers in 'extern "C" {}'
for inclusion from C++ sources

from gnash CVS

ok deanna@
2007-09-24 07:46:38 +00:00

14 lines
386 B
Plaintext

$OpenBSD: patch-server_asobj_NetStreamFfmpeg_h,v 1.1 2007/09/24 07:46:38 jakemsr Exp $
--- server/asobj/NetStreamFfmpeg.h.orig Mon Sep 10 23:43:35 2007
+++ server/asobj/NetStreamFfmpeg.h Mon Sep 10 23:43:58 2007
@@ -39,7 +39,9 @@
#include "impl.h"
#include "video_stream_instance.h"
+extern "C" {
#include <ffmpeg/avformat.h>
+}
#include "image.h"
#include "StreamProvider.h"