[vlc-devel] [vlc-commits] input/demux: make helper type more generic

Rémi Denis-Courmont remi at remlab.net
Tue Aug 2 16:26:33 CEST 2016

Le 2016-08-02 15:47, git at videolan.org a écrit :
> vlc | branch: master | Filip Roséen <filip at atch.se> | Sat Jul 30
> 05:47:08 2016 +0200| [cf8aa14fcded795f67dde659323d93c05dae5cd9] |
> committer: Jean-Baptiste Kempf
> input/demux: make helper type more generic
> The affected helper-type can be used elsewhere in this
> translation-unit though
> for lookup of other strings not directly related to a certain 
> mime-type.
> This commit changes both the name of the type, but also its 
> data-members, so
> that it is more generic. As the lookup maps will always be 
> initialized with
> string-literals, there is no need to specify an explicit size for the
> data-members; instead we can simply rely on a pointer-to-char.

This effectively reverts 6b9308c8f6a66a2f10f1a201490b0be396f2bbfd 
without discussion.

I wholly disagree here.

Rémi Denis-Courmont

More information about the vlc-devel mailing list