Freetype: split freetype init from Create

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Split Freetype destruction from the main destruction

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Freetype: create an xml_reader helper
Freetype: fix small error in previous commit
Freetype: move the font selection to a function-pointer
Win32: fix obvious typo.

Sorry
Freetype: Split font selection code from freetype.c
Avoid infinite recursion loop when parsing tags

Fix #10028
DCP: new access-demux module for DigitalCinemaPackage

This version only support 1-Reel-per-track DCPs, like trailers

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Freetype: simplify win32 fonts lookup folder

It's less elegant, because it is not cached, but it's cleaner in
freetype.c with less #ifdef all around...
Move font defaults to platform_fonts.h
Freetype: remove unneeded includes
Freetype: introduce a dummy font selector

When we don't have a way to select a font by family, use the basic font
(default or the config one)

This reduces the number of HAVE_STYLES usage and avoid a few bugs
Freetype: unexport a function we don't need anymore on Win32
Freetype: rename HAVE_STYLES
mkv: fix memory leak
input: fix memory leak if access is not found
livehttp: fix memory leaks
livehttp: fix many memory leaks
access_jack: fix memory leak