Contribs: mpg123, don't build programs

This failed on Android, for example
VLSub: minor fixes
qt4: remove tautology, constify singleFileSelected
Add MPEG audio layer I, II, III decoder based on mpg123
Test RSA 4k signatures
Missing header
Android: deactivate audiotrack automatic loading

Use it only if specified by --aout arg.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Messages: add AndroidPrintMsg cb for Android

On android 5.0, PrintMsg blocks on fprintf when stderr is locked by flockfile.

This commit adds a default log callback for android in order to fix this issue,
and in order to have early logs (before libvlc_log_set is called).

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Winstore: allow SetThreadPriority call

This mandates 8.1 though
mediacodec: add rotation support for opaque

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
avcodec: set absolute/ephemer comments/values correctly
transcode: give proper src fmt for subtitle overlay
livehttp: add DISCONTINUITY on playlist if we have restarted stream

If provided initial-segment-number option, signal discontinuity so
player knows to reset timestamps etc for new segments.
livehttp: don't remove previous playlist on open if segment-number is given

If we provide initial segment-number, most likely we want to continue
where we have left of, so leave old playlist-file there and just
overwrite it when we updated it.

default initial-segment-number is 1 so don't test against 0
mpg123: missing p_block release
codec: schroedinger: fix potential buffer overflow.

The variable len is a raw 32 bit value read using GetDWBE. If this
value is larger than UINT32_MAX - sizeof(eos), this will cause an
integer overflow in the subsequent call to malloc, and finally a
buffer overflow when calling memcpy. We fix this by checking len
accordingly.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
codec: dmo: avoid null-pointer dereference.

Check the return value of malloc to avoid a null-pointer dereference.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
RTP: remove trailing spaces
Vobsub: better debug message
configure: fix FAAD linking test (-lm) and clean up

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>