[vlc-commits] xiph: constify xiph_PackHeaders()

Rémi Denis-Courmont git at videolan.org
Tue Jul 23 19:43:21 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 23 20:40:29 2019 +0300| [5de591e391ec000f89acbaece4934110cab46e31] | committer: Rémi Denis-Courmont

xiph: constify xiph_PackHeaders()

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

 modules/demux/xiph.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modules/demux/xiph.h b/modules/demux/xiph.h
index eaa8158d7c..3723814a57 100644
--- a/modules/demux/xiph.h
+++ b/modules/demux/xiph.h
@@ -111,7 +111,9 @@ static inline int xiph_SplitHeaders(unsigned packet_size[],
 }
 
 static inline int xiph_PackHeaders(int *extra_size, void **extra,
-                                   unsigned packet_size[], const void *packet[], unsigned packet_count )
+                                   unsigned packet_size[],
+                                   const void *const packet[],
+                                   unsigned packet_count)
 {
     if (packet_count <= 0 || packet_count > XIPH_MAX_HEADER_COUNT)
         return VLC_EGENERIC;



More information about the vlc-commits mailing list