Mercurial > libavcodec.hg
diff h263dec.c @ 3455:cc4b4ea83e29 libavcodec
--enable/disable parsers. Warning: some combinations are broken.
author | mru |
---|---|
date | Sun, 09 Jul 2006 12:02:15 +0000 |
parents | 19620d64a239 |
children | b0953f642148 |
line wrap: on
line diff
--- a/h263dec.c Sun Jul 09 10:33:49 2006 +0000 +++ b/h263dec.c Sun Jul 09 12:02:15 2006 +0000 @@ -391,6 +391,7 @@ return END_NOT_FOUND; } +#ifdef CONFIG_H263_PARSER static int h263_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, @@ -411,6 +412,7 @@ *poutbuf_size = buf_size; return next; } +#endif int ff_h263_decode_frame(AVCodecContext *avctx, void *data, int *data_size, @@ -887,6 +889,7 @@ CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 }; +#ifdef CONFIG_H263_PARSER AVCodecParser h263_parser = { { CODEC_ID_H263 }, sizeof(ParseContext), @@ -894,3 +897,4 @@ h263_parse, ff_parse_close, }; +#endif