input/demux: make helper type more generic
commitcf8aa14fcded795f67dde659323d93c05dae5cd9
authorFilip Roséen <filip@atch.se>
Sat, 30 Jul 2016 03:47:08 +0000 (30 05:47 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 2 Aug 2016 13:43:30 +0000 (2 15:43 +0200)
treee2bada7404e2e15c02c333a19827e98fa971fc24
parent1abff05b01c48d1780b65417aae17f8e682ff066
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.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/input/demux.c