diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index a1b1baccea..750952ff7d 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