[vlc-devel] [PATCH 15/24] [block_helper] Fix prototype to be more const

davidf+nntp at woaf.net davidf+nntp at woaf.net
Thu Oct 30 12:29:44 CET 2008


From: David Flynn <davidf at rd.bbc.co.uk>


Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
---
 include/vlc_block_helper.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/vlc_block_helper.h b/include/vlc_block_helper.h
index 4660f95..376c2b4 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;
-- 
1.5.6.5




More information about the vlc-devel mailing list