[vlc-devel] commit: Fix prototype to be more const (David Flynn )

git version control git at videolan.org
Tue Nov 4 22:56:24 CET 2008


vlc | branch: master | David Flynn <davidf at rd.bbc.co.uk> | Thu Oct 30 11:29:44 2008 +0000| [3f7d9fb446c6e14c261d85ac8f93501014fd645e] | committer: Laurent Aimar 

Fix prototype to be more const

Signed-off-by: David Flynn <davidf at rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f7d9fb446c6e14c261d85ac8f93501014fd645e
---

 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;




More information about the vlc-devel mailing list