Mercurial > libavcodec.hg
comparison dvbsub_parser.c @ 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 | 6ae3f99d9a1b |
children | 48759bfbd073 |
comparison
equal
deleted
inserted
replaced
4930:655d25351bfc | 4931:0d1cc37d9430 |
---|---|
46 return 0; | 46 return 0; |
47 } | 47 } |
48 | 48 |
49 static int dvbsub_parse(AVCodecParserContext *s, | 49 static int dvbsub_parse(AVCodecParserContext *s, |
50 AVCodecContext *avctx, | 50 AVCodecContext *avctx, |
51 uint8_t **poutbuf, int *poutbuf_size, | 51 const uint8_t **poutbuf, int *poutbuf_size, |
52 const uint8_t *buf, int buf_size) | 52 const uint8_t *buf, int buf_size) |
53 { | 53 { |
54 DVBSubParseContext *pc = s->priv_data; | 54 DVBSubParseContext *pc = s->priv_data; |
55 uint8_t *p, *p_end; | 55 uint8_t *p, *p_end; |
56 int len, buf_pos = 0; | 56 int len, buf_pos = 0; |