[vlc-commits] input/demux: fix accidental revert of 6b9308

Filip Roséen git at videolan.org
Tue Aug 2 17:33:24 CEST 2016


vlc | branch: master | Filip Roséen <filip at atch.se> | Tue Aug  2 17:22:21 2016 +0200| [6660c557c01ac005df83bd9326dfd216deacf9e0] | committer: Jean-Baptiste Kempf

input/demux: fix accidental revert of 6b9308

This commit reverts the change to use "char const*" instead of "char
const[]" introduced by cf8aa14. This is done in order to respect the
rationale behind 6b9308.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 src/input/demux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/input/demux.c b/src/input/demux.c
index e804813..96136a1 100644
--- a/src/input/demux.c
+++ b/src/input/demux.c
@@ -40,8 +40,8 @@ static bool SkipAPETag( demux_t *p_demux );
 
 typedef const struct
 {
-    const char* key;
-    const char* name;
+    char const key[20];
+    char const name[8];
 
 } demux_mapping;
 



More information about the vlc-commits mailing list