Mercurial > libavcodec.hg
diff allcodecs.c @ 2520:047f7bad4cbb libavcodec
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>)
author | michael |
---|---|
date | Thu, 24 Feb 2005 15:18:02 +0000 |
parents | 9f17dd9b80c6 |
children | b47af698085e |
line wrap: on
line diff
--- a/allcodecs.c Thu Feb 24 09:27:46 2005 +0000 +++ b/allcodecs.c Thu Feb 24 15:18:02 2005 +0000 @@ -45,10 +45,14 @@ #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