diff allcodecs.c @ 2697:4fe1c19fc7a3 libavcodec

Vorbis decoder by (Balatoni Denes | dbalatoni programozo hu)
author michael
date Tue, 17 May 2005 19:02:43 +0000
parents 5ea2a7f74817
children 485571c9182f
line wrap: on
line diff
--- a/allcodecs.c	Tue May 17 18:28:40 2005 +0000
+++ b/allcodecs.c	Tue May 17 19:02:43 2005 +0000
@@ -55,7 +55,7 @@
 #ifdef CONFIG_OGGVORBIS_ENCODER
     register_avcodec(&oggvorbis_encoder);
 #endif //CONFIG_OGGVORBIS_ENCODER
-#ifdef CONFIG_OGGVORBIS_DECODER
+#if (defined CONFIG_OGGVORBIS_DECODER && !defined CONFIG_VORBIS_DECODER)
     register_avcodec(&oggvorbis_decoder);
 #endif //CONFIG_OGGVORBIS_DECODER
 #endif
@@ -476,6 +476,9 @@
 #ifdef CONFIG_WS_SND1_DECODER
     register_avcodec(&ws_snd1_decoder);
 #endif //CONFIG_WS_SND1_DECODER
+#ifdef CONFIG_VORBIS_DECODER
+    register_avcodec(&vorbis_decoder);
+#endif
 #endif /* CONFIG_DECODERS */
 
 #ifdef AMR_NB