]> git.sesse.net Git - vlc/blobdiff - include/vlc_block_helper.h
Constify es_out_Add es_format_t* argument.
[vlc] / include / vlc_block_helper.h
index 679d0e5152a9b335cd2bff18b8ea875187e5bc9c..376c2b4d751d861a3cb33324834fb37e324a4eab 100644 (file)
@@ -87,6 +87,7 @@ static inline void block_BytestreamPush( block_bytestream_t *p_bytestream,
     if( !p_bytestream->p_block ) p_bytestream->p_block = p_block;
 }
 
+LIBVLC_USED
 static inline block_t *block_BytestreamPop( block_bytestream_t *p_bytestream )
 {
     block_t *p_block;
@@ -438,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;