gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r10867: Fix build with old ffmpeg (0


From: Sandro Santilli
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10867: Fix build with old ffmpeg (0.cvs20060823-8)
Date: Wed, 13 May 2009 16:59:17 +0200
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 10867
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Wed 2009-05-13 16:59:17 +0200
message:
  Fix build with old ffmpeg (0.cvs20060823-8)
modified:
  libmedia/ffmpeg/VideoDecoderFfmpeg.cpp
=== modified file 'libmedia/ffmpeg/VideoDecoderFfmpeg.cpp'
--- a/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp    2009-03-13 09:54:50 +0000
+++ b/libmedia/ffmpeg/VideoDecoderFfmpeg.cpp    2009-05-13 14:59:17 +0000
@@ -256,9 +256,13 @@
 
     switch (pixFmt)
     {
+// As of libavcodec 0.cvs20060823-8  PIX_FMT_RGBA is unknown symbol
+// As of libavcodec 0.svn20080206-17 it is a define
+#ifdef PIX_FMT_RGBA
         case PIX_FMT_RGBA:
             im.reset(new ImageRGBA(width, height));
             break;
+#endif
         case PIX_FMT_RGB24:
             im.reset(new ImageRGB(width, height));
             break;


reply via email to

[Prev in Thread] Current Thread [Next in Thread]