diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-05-07 00:47:03 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-05-07 00:47:03 +0000 |
commit | c53d2d90425e0abcca6ff96251bff84fc3993f80 (patch) | |
tree | 3679e62f3dbcf1b095d00e78cf08abf969931ab1 /libavcodec/avcodec.h | |
parent | 89ecc26188855c65245d4cc6c6b58e5d3c22edb6 (diff) | |
download | ffmpeg-c53d2d90425e0abcca6ff96251bff84fc3993f80.tar.gz |
make some parser parameters const to avoid casting const to non-const
Originally committed as revision 8921 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ae47abdd2e..dee12c245b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2981,7 +2981,7 @@ typedef struct AVCodecParser { 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); |