diff options
author | Nilesh Bansal <nileshbansal@gmail.com> | 2005-02-24 15:18:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-02-24 15:18:02 +0000 |
commit | 5c5dea3f0c495e371faa2962cde83dc187bdf2e4 (patch) | |
tree | 79114f92e1f67bd8b55a24423132f2debebf3082 /libavcodec/allcodecs.c | |
parent | 738386a5ed5eff0dbad36c33ff96b3b3d4d80af6 (diff) | |
download | ffmpeg-5c5dea3f0c495e371faa2962cde83dc187bdf2e4.tar.gz |
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.c | 6 |
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 |