]> git.sesse.net Git - vlc/blobdiff - include/vlc_block_helper.h
Fix prototype to be more const
[vlc] / include / vlc_block_helper.h
index 4660f957fa4453be779584d019279ac97082e8fe..376c2b4d751d861a3cb33324834fb37e324a4eab 100644 (file)
@@ -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;