[vlc-commits] ts: fix duplicate qualifier, add missing 'static'
Rémi Denis-Courmont
git at videolan.org
Wed Jun 28 22:50:52 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun 28 23:05:10 2017 +0300| [08d224a0003e962851808f4cef7deb22d436d9fa] | committer: Rémi Denis-Courmont
ts: fix duplicate qualifier, add missing 'static'
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08d224a0003e962851808f4cef7deb22d436d9fa
---
modules/demux/mpeg/ts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index f5be916814..a771afbd4c 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -2543,7 +2543,7 @@ static uint8_t *FindNextPESHeader( uint8_t *p_buf, size_t i_buffer )
return NULL;
}
-const uint8_t const pes_sync[] = { 0, 0, 1 };
+static const uint8_t pes_sync[] = { 0, 0, 1 };
static bool MayHaveStartCodeOnEnd( const uint8_t *p_buf, size_t i_buf )
{
More information about the vlc-commits
mailing list