diff avcodec.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 6406b4e280d6
children 7c6a0470eb63
line wrap: on
line diff
--- a/avcodec.h	Sun May 06 15:25:04 2007 +0000
+++ b/avcodec.h	Mon May 07 00:47:03 2007 +0000
@@ -2981,7 +2981,7 @@
     int (*parser_init)(AVCodecParserContext *s);
     int (*parser_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);
     void (*parser_close)(AVCodecParserContext *s);
     int (*split)(AVCodecContext *avctx, const uint8_t *buf, int buf_size);