changeset 3278:93110d5554ab libavcodec

Enable AMR_NB decoder/encoder when either AMR_NB or AMR_NB_FIXED is defined.
author diego
date Thu, 27 Apr 2006 11:49:15 +0000
parents cea09585a203
children 647a677c00a4
files allcodecs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/allcodecs.c	Thu Apr 27 03:31:26 2006 +0000
+++ b/allcodecs.c	Thu Apr 27 11:49:15 2006 +0000
@@ -531,7 +531,7 @@
 #endif //CONFIG_RAWVIDEO_DECODER
 #endif /* CONFIG_DECODERS */
 
-#ifdef AMR_NB
+#if defined(AMR_NB) || defined(AMR_NB_FIXED)
 #ifdef CONFIG_AMR_NB_DECODER
     register_avcodec(&amr_nb_decoder);
 #endif //CONFIG_AMR_NB_DECODER
@@ -540,7 +540,7 @@
     register_avcodec(&amr_nb_encoder);
 #endif //CONFIG_AMR_NB_ENCODER
 #endif //CONFIG_ENCODERS
-#endif /* AMR_NB */
+#endif /* AMR_NB || AMR_NB_FIXED */
 
 #ifdef AMR_WB
 #ifdef CONFIG_AMR_WB_DECODER