[vlc-commits] demux:mkv: constant strings should be constant
Steve Lhomme
git at videolan.org
Wed Mar 21 15:02:15 CET 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Mar 21 15:02:09 2018 +0100| [0d57dda3e9dbb3932fb2719b9fb18b213cb12c4d] | committer: Steve Lhomme
demux:mkv: constant strings should be constant
Third time's a charm
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0d57dda3e9dbb3932fb2719b9fb18b213cb12c4d
---
modules/demux/mkv/util.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/util.cpp b/modules/demux/mkv/util.cpp
index 8c22cf7afe..3b25e00aee 100644
--- a/modules/demux/mkv/util.cpp
+++ b/modules/demux/mkv/util.cpp
@@ -386,8 +386,8 @@ block_t * packetize_wavpack( const mkv_track_t & tk, uint8_t * buffer, size_t s
void MkvTree_va( demux_t& demuxer, int i_level, const char* fmt, va_list args)
{
- static char indent[] = "| ";
- static char prefix[] = "+ ";
+ static const char indent[] = "| ";
+ static const char prefix[] = "+ ";
static int const indent_len = sizeof( indent ) - 1;
static int const prefix_len = sizeof( prefix ) - 1;
More information about the vlc-commits
mailing list