Add vorbis encoder to ffmpeg

Originally committed as revision 6519 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Oded Shimon
2006-10-02 06:18:02 +00:00
parent 007574482a
commit 8c37516af0
3 changed files with 6 additions and 1 deletions

View File

@@ -51,7 +51,7 @@ void avcodec_register_all(void)
#endif //CONFIG_MP3LAME_ENCODER
#endif
#ifdef CONFIG_LIBVORBIS
#ifdef CONFIG_OGGVORBIS_ENCODER
#if (defined CONFIG_OGGVORBIS_ENCODER && !defined CONFIG_VORBIS_ENCODER)
register_avcodec(&oggvorbis_encoder);
#endif //CONFIG_OGGVORBIS_ENCODER
#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
@@ -507,6 +507,9 @@ void avcodec_register_all(void)
#ifdef CONFIG_VORBIS_DECODER
register_avcodec(&vorbis_decoder);
#endif
#ifdef CONFIG_VORBIS_ENCODER
register_avcodec(&vorbis_encoder);
#endif
#ifdef CONFIG_LIBGSM
register_avcodec(&libgsm_decoder);
#endif //CONFIG_LIBGSM