CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/10/04 16:12:42

Modified files:
        .              : ChangeLog 
        libmedia       : MediaParser.h 

Log message:
                * libmedia/MediaParser.h: wrap avcodec.h include in extern "C"
                  namespace.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.4526&r2=1.4527
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/MediaParser.h?cvsroot=gnash&r1=1.4&r2=1.5

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.4526
retrieving revision 1.4527
diff -u -b -r1.4526 -r1.4527
--- ChangeLog   4 Oct 2007 15:32:10 -0000       1.4526
+++ ChangeLog   4 Oct 2007 16:12:42 -0000       1.4527
@@ -1,3 +1,8 @@
+2007-10-04 Aleksey Lim <[EMAIL PROTECTED]>
+
+       * libmedia/MediaParser.h: wrap avcodec.h include in extern "C"
+         namespace.
+
 2007-10-04 Sandro Santilli <[EMAIL PROTECTED]>
 
        * server/as_value.{cpp,h}: use a new SpriteProxy class for 

Index: libmedia/MediaParser.h
===================================================================
RCS file: /sources/gnash/gnash/libmedia/MediaParser.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- libmedia/MediaParser.h      4 Oct 2007 09:37:50 -0000       1.4
+++ libmedia/MediaParser.h      4 Oct 2007 16:12:42 -0000       1.5
@@ -16,7 +16,7 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
-// $Id: MediaParser.h,v 1.4 2007/10/04 09:37:50 tgc Exp $
+// $Id: MediaParser.h,v 1.5 2007/10/04 16:12:42 strk Exp $
 
 #ifndef __MEDIAPARSER_H__
 #define __MEDIAPARSER_H__
@@ -28,8 +28,12 @@
 #include "tu_file.h"
 
 #ifdef USE_FFMPEG
-#include <ffmpeg/avcodec.h>
-#endif
+extern "C" 
+{
+       #include <ffmpeg/avcodec.h>
+}
+#endif // USE_FFMPEG
+
 namespace gnash {
 
 /// The type of the codec id passed in the AudioInfo or VideoInfo class


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to