Mercurial > libavcodec.hg
diff avcodec.h @ 9218:18dffa8f2382 libavcodec
Remove deprecated functions and structures on next version bump.
author | diego |
---|---|
date | Sat, 21 Mar 2009 13:51:29 +0000 |
parents | 53ec03e7ba40 |
children | a15ec86bf752 |
line wrap: on
line diff
--- a/avcodec.h Sat Mar 21 10:25:20 2009 +0000 +++ b/avcodec.h Sat Mar 21 13:51:29 2009 +0000 @@ -2496,6 +2496,7 @@ int linesize[4]; ///< number of bytes per line } AVPicture; +#if LIBAVCODEC_VERSION_MAJOR < 53 /** * AVPaletteControl * This structure defines a method for communicating palette changes @@ -2519,6 +2520,7 @@ unsigned int palette[AVPALETTE_COUNT]; } AVPaletteControl attribute_deprecated; +#endif enum AVSubtitleType { SUBTITLE_NONE, @@ -3269,12 +3271,14 @@ void av_register_codec_parser(AVCodecParser *parser); AVCodecParserContext *av_parser_init(int codec_id); +#if LIBAVCODEC_VERSION_MAJOR < 53 attribute_deprecated int av_parser_parse(AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts); +#endif /** * Parse a packet.