summaryrefslogtreecommitdiff
path: root/libavcodec/parser.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-05-07 00:47:03 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-05-07 00:47:03 +0000
commitc53d2d90425e0abcca6ff96251bff84fc3993f80 (patch)
tree3679e62f3dbcf1b095d00e78cf08abf969931ab1 /libavcodec/parser.h
parent89ecc26188855c65245d4cc6c6b58e5d3c22edb6 (diff)
downloadffmpeg-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/parser.h')
-rw-r--r--libavcodec/parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/parser.h b/libavcodec/parser.h
index 4be12e9913..baa2c6363f 100644
--- a/libavcodec/parser.h
+++ b/libavcodec/parser.h
@@ -54,7 +54,7 @@ typedef struct ParseContext1{
#define END_NOT_FOUND (-100)
-int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size);
+int ff_combine_frame(ParseContext *pc, int next, const uint8_t **buf, int *buf_size);
int ff_mpeg4video_split(AVCodecContext *avctx, const uint8_t *buf,
int buf_size);
void ff_parse_close(AVCodecParserContext *s);