diff options
author | Måns Rullgård <mans@mansr.com> | 2006-07-09 12:02:15 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-07-09 12:02:15 +0000 |
commit | af9e7d181068a42272b290e48c43c343b492a349 (patch) | |
tree | 1bde651a37cc81e9dcb06406af4e098b588ac750 /libavcodec/pnm.c | |
parent | 18769c0a7974a1ba7385eb030e4400046df5330d (diff) | |
download | ffmpeg-af9e7d181068a42272b290e48c43c343b492a349.tar.gz |
--enable/disable parsers. Warning: some combinations are broken.
Originally committed as revision 5691 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pnm.c')
-rw-r--r-- | libavcodec/pnm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/pnm.c b/libavcodec/pnm.c index 163da829b6..b7e5283c72 100644 --- a/libavcodec/pnm.c +++ b/libavcodec/pnm.c @@ -454,6 +454,7 @@ static int pam_probe(AVProbeData *pd) } #endif +#ifdef CONFIG_PNM_PARSER static int pnm_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, @@ -522,6 +523,7 @@ AVCodecParser pnm_parser = { pnm_parse, ff_parse_close, }; +#endif /* CONFIG_PNM_PARSER */ #ifdef CONFIG_PGM_ENCODER AVCodec pgm_encoder = { |