Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 4930:655d25351bfc | 4931:0d1cc37d9430 |
|---|---|
| 52 int first_picture; | 52 int first_picture; |
| 53 } ParseContext1; | 53 } ParseContext1; |
| 54 | 54 |
| 55 #define END_NOT_FOUND (-100) | 55 #define END_NOT_FOUND (-100) |
| 56 | 56 |
| 57 int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size); | 57 int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size); |
| 58 int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, | 58 int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf, |
| 59 int buf_size); | 59 int buf_size); |
| 60 void ff_parse_close(AVCodecParserContext *s); | 60 void ff_parse_close(AVCodecParserContext *s); |
| 61 void ff_parse1_close(AVCodecParserContext *s); | 61 void ff_parse1_close(AVCodecParserContext *s); |
| 62 | 62 |
