Mercurial > libavcodec.hg
comparison dvdsub_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 | 4d185d65488c |
children | 27b3ee661472 |
comparison
equal
deleted
inserted
replaced
4930:655d25351bfc | 4931:0d1cc37d9430 |
---|---|
32 return 0; | 32 return 0; |
33 } | 33 } |
34 | 34 |
35 static int dvdsub_parse(AVCodecParserContext *s, | 35 static int dvdsub_parse(AVCodecParserContext *s, |
36 AVCodecContext *avctx, | 36 AVCodecContext *avctx, |
37 uint8_t **poutbuf, int *poutbuf_size, | 37 const uint8_t **poutbuf, int *poutbuf_size, |
38 const uint8_t *buf, int buf_size) | 38 const uint8_t *buf, int buf_size) |
39 { | 39 { |
40 DVDSubParseContext *pc = s->priv_data; | 40 DVDSubParseContext *pc = s->priv_data; |
41 | 41 |
42 if (pc->packet_index == 0) { | 42 if (pc->packet_index == 0) { |