diff allcodecs.c @ 3432:ab49baf4adad libavcodec

Fix compilation with --disable-decoders. patch by Emiliano Parasassi, millallo --at-- gmail --dot-- com
author diego
date Fri, 07 Jul 2006 11:08:58 +0000
parents 6ce5ece8e2ea
children f94d61396915
line wrap: on
line diff
--- a/allcodecs.c	Fri Jul 07 10:50:14 2006 +0000
+++ b/allcodecs.c	Fri Jul 07 11:08:58 2006 +0000
@@ -640,7 +640,9 @@
     /* parsers */
     av_register_codec_parser(&mpegvideo_parser);
     av_register_codec_parser(&mpeg4video_parser);
+#ifdef CONFIG_CAVS_DECODER
     av_register_codec_parser(&cavsvideo_parser);
+#endif
 #if defined(CONFIG_H261_DECODER) || defined(CONFIG_H261_ENCODER)
     av_register_codec_parser(&h261_parser);
 #endif