Mercurial > libavcodec.hg
diff parser.h @ 4931:0d1cc37d9430 libavcodec
make some parser parameters const to avoid casting const to non-const
author | aurel |
---|---|
date | Mon, 07 May 2007 00:47:03 +0000 |
parents | b6a4f6c5623c |
children | c3ee5c30c297 |
line wrap: on
line diff
--- a/parser.h Sun May 06 15:25:04 2007 +0000 +++ b/parser.h Mon May 07 00:47:03 2007 +0000 @@ -54,7 +54,7 @@ #define END_NOT_FOUND (-100) -int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size); +int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size); int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, int buf_size); void ff_parse_close(AVCodecParserContext *s);