Mercurial > libavcodec.hg
diff mpeg12.c @ 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 | 13ef168891b0 |
children | 3fa689636240 |
line wrap: on
line diff
--- a/mpeg12.c Sun May 06 15:25:04 2007 +0000 +++ b/mpeg12.c Mon May 07 00:47:03 2007 +0000 @@ -3096,7 +3096,7 @@ 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; }