From c53d2d90425e0abcca6ff96251bff84fc3993f80 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Mon, 7 May 2007 00:47:03 +0000 Subject: make some parser parameters const to avoid casting const to non-const Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/avcodec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/avcodec.h') diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ae47abd..dee12c2 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2981,7 +2981,7 @@ typedef struct AVCodecParser { int (*parser_init)(AVCodecParserContext *s); int (*parser_parse)(AVCodecParserContext *s, AVCodecContext *avctx, - uint8_t **poutbuf, int *poutbuf_size, + const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size); void (*parser_close)(AVCodecParserContext *s); int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size); -- cgit v1.1