From: David Flynn Date: Thu, 30 Oct 2008 11:29:44 +0000 (+0000) Subject: Fix prototype to be more const X-Git-Tag: 1.0.0-pre1~2239 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3f7d9fb446c6e14c261d85ac8f93501014fd645e;p=vlc Fix prototype to be more const Signed-off-by: David Flynn Signed-off-by: Laurent Aimar --- diff --git a/include/vlc_block_helper.h b/include/vlc_block_helper.h index 4660f957fa..376c2b4d75 100644 --- a/include/vlc_block_helper.h +++ b/include/vlc_block_helper.h @@ -439,7 +439,7 @@ static inline int block_PeekOffsetBytes( block_bytestream_t *p_bytestream, static inline int block_FindStartcodeFromOffset( block_bytestream_t *p_bytestream, size_t *pi_offset, - uint8_t *p_startcode, int i_startcode_length ) + const uint8_t *p_startcode, int i_startcode_length ) { block_t *p_block, *p_block_backup = 0; int i_size = 0;