summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/cinelerra-cvs/files/recentffmpeg.patch')
-rw-r--r--media-video/cinelerra-cvs/files/recentffmpeg.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/media-video/cinelerra-cvs/files/recentffmpeg.patch b/media-video/cinelerra-cvs/files/recentffmpeg.patch
new file mode 100644
index 000000000000..99f986966365
--- /dev/null
+++ b/media-video/cinelerra-cvs/files/recentffmpeg.patch
@@ -0,0 +1,29 @@
+Index: cinelerra-cvs/cinelerra/ffmpeg.h
+===================================================================
+--- cinelerra-cvs.orig/cinelerra/ffmpeg.h
++++ cinelerra-cvs/cinelerra/ffmpeg.h
+@@ -1,7 +1,9 @@
+ #ifndef FFMPEG_H
+ #define FFMPEG_H
+
++extern "C" {
+ #include <avcodec.h>
++}
+
+ #include "asset.h"
+ #include "guicast.h"
+Index: cinelerra-cvs/cinelerra/fileac3.h
+===================================================================
+--- cinelerra-cvs.orig/cinelerra/fileac3.h
++++ cinelerra-cvs/cinelerra/fileac3.h
+@@ -1,8 +1,9 @@
+ #ifndef FILEAC3_H
+ #define FILEAC3_H
+
+-
++extern "C" {
+ #include <avcodec.h>
++}
+ #include "filebase.h"
+ #include <stdio.h>
+