[bTSstream-devel] add missing const

Christophe Massiot git at videolan.org
Fri Apr 24 16:14:29 CEST 2015


bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Fri Apr 24 16:14:20 2015 +0200| [fcad9de83339f607b2483b4443a323d72618225b] | committer: Christophe Massiot

add missing const

> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=fcad9de83339f607b2483b4443a323d72618225b
---

 mpeg/psi/desc_05.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpeg/psi/desc_05.h b/mpeg/psi/desc_05.h
index c43b8c8..f993c7e 100644
--- a/mpeg/psi/desc_05.h
+++ b/mpeg/psi/desc_05.h
@@ -52,7 +52,7 @@ static inline void desc05_init(uint8_t *p_desc)
     desc_set_length(p_desc, DESC05_HEADER_SIZE - DESC_HEADER_SIZE);
 }
 
-static inline void desc05_set_identifier(uint8_t *p_desc, uint8_t p_id[4])
+static inline void desc05_set_identifier(uint8_t *p_desc, const uint8_t p_id[4])
 {
     p_desc[2] = p_id[0];
     p_desc[3] = p_id[1];



More information about the biTStream-devel mailing list