Mercurial > libavcodec.hg
diff 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 |
line wrap: on
line diff
--- a/dvdsub_parser.c Sun May 06 15:25:04 2007 +0000 +++ b/dvdsub_parser.c Mon May 07 00:47:03 2007 +0000 @@ -34,7 +34,7 @@ static int dvdsub_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) { DVDSubParseContext *pc = s->priv_data;