summaryrefslogtreecommitdiff
path: root/libavcodec/mpeg12.c
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/mpeg12.c
parent89ecc26188855c65245d4cc6c6b58e5d3c22edb6 (diff)
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/mpeg12.c')
-rw-r--r--libavcodec/mpeg12.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c
index a894737be5..20ebcdbd3b 100644
--- a/libavcodec/mpeg12.c
+++ b/libavcodec/mpeg12.c
@@ -3096,7 +3096,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
if(s2->flags&CODEC_FLAG_TRUNCATED){
int next= ff_mpeg1_find_frame_end(&s2->parse_context, buf, buf_size);
- if( ff_combine_frame(&s2->parse_context, next, &buf, &buf_size) < 0 )
+ if( ff_combine_frame(&s2->parse_context, next, (const uint8_t **)&buf, &buf_size) < 0 )
return buf_size;
}