> > what should the upper output tell me?
> are you using external ffmpeg?  fmpeg versions since about August
> 2006 are incompatible with the current cinelerra.


Well, that's only very recent ffmpeg versions that broke cinelerra :
they removed the "extern "C" " stuff if the .h when included from
c++. And cinelerra does use ffmpeg from c++... trivial patch
enclosed.


Regards, 

Alexis.


(Ps: I will fix that in gentoo shortly, hopefuly)
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>
 

Attachment: signature.asc
Description: PGP signature

Reply via email to