[SCM] libav/experimental: Fix compilation when Theora decoder is disabled, but VP3 is enabled.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:58:44 UTC 2013


The following commit has been merged in the experimental branch:
commit 51cea49ab453755b55b07000c879749bc1b8a406
Author: Diego Biurrun <diego at biurrun.de>
Date:   Sun Apr 8 13:42:44 2007 +0000

    Fix compilation when Theora decoder is disabled, but VP3 is enabled.
    
    Originally committed as revision 8682 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c
index a1b1bac..750952f 100644
--- a/libavcodec/vp3.c
+++ b/libavcodec/vp3.c
@@ -2646,6 +2646,7 @@ AVCodec vp3_decoder = {
     NULL
 };
 
+#ifdef CONFIG_THEORA_DECODER
 AVCodec theora_decoder = {
     "theora",
     CODEC_TYPE_VIDEO,
@@ -2658,3 +2659,4 @@ AVCodec theora_decoder = {
     0,
     NULL
 };
+#endif

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list