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
This commit is contained in:
Nilesh Bansal
2005-02-24 15:18:02 +00:00
committed by Michael Niedermayer
parent 738386a5ed
commit 5c5dea3f0c
8 changed files with 67 additions and 10 deletions

View File

@@ -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