summaryrefslogtreecommitdiff
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorNilesh Bansal <nileshbansal@gmail.com>2005-02-24 15:18:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-02-24 15:18:02 +0000
commit5c5dea3f0c495e371faa2962cde83dc187bdf2e4 (patch)
tree79114f92e1f67bd8b55a24423132f2debebf3082 /libavcodec/allcodecs.c
parent738386a5ed5eff0dbad36c33ff96b3b3d4d80af6 (diff)
01-makefile_fix_updated.patch
Adds --enable-theora/--enable-vorbis/--enable-ogg to configure If compiled WITHOUT --enable-theora, native VP3 decoder is used patch by (Nilesh Bansal <nileshbansal gmail com>) Originally committed as revision 3975 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index b7a05bd26d..1eea98a743 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -45,10 +45,14 @@ void avcodec_register_all(void)
#ifdef CONFIG_MP3LAME
register_avcodec(&mp3lame_encoder);
#endif
-#ifdef CONFIG_VORBIS
+#ifdef CONFIG_LIBVORBIS
register_avcodec(&oggvorbis_encoder);
register_avcodec(&oggvorbis_decoder);
#endif
+#ifdef CONFIG_LIBTHEORA
+ register_avcodec(&oggtheora_encoder);
+ register_avcodec(&oggtheora_decoder);
+#endif
#ifdef CONFIG_FAAC
register_avcodec(&faac_encoder);
#endif