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/mpeg12.c | |
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/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 2 |
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; } |