diff pnm.c @ 3455:cc4b4ea83e29 libavcodec

--enable/disable parsers. Warning: some combinations are broken.
author mru
date Sun, 09 Jul 2006 12:02:15 +0000
parents 0b546eab515d
children c8c591fe26f8
line wrap: on
line diff
--- a/pnm.c	Sun Jul 09 10:33:49 2006 +0000
+++ b/pnm.c	Sun Jul 09 12:02:15 2006 +0000
@@ -454,6 +454,7 @@
 }
 #endif
 
+#ifdef CONFIG_PNM_PARSER
 static int pnm_parse(AVCodecParserContext *s,
                            AVCodecContext *avctx,
                            uint8_t **poutbuf, int *poutbuf_size,
@@ -522,6 +523,7 @@
     pnm_parse,
     ff_parse_close,
 };
+#endif /* CONFIG_PNM_PARSER */
 
 #ifdef CONFIG_PGM_ENCODER
 AVCodec pgm_encoder = {