demux: mp4: fix heap overflow reading esds
demux: mp4: fix heap read overflow in vide handler
theora: cleanup

Remove dead code and superfluous width/height variables.
wl_screenshooter: remove useless #include
mp4: fix typos in sizeof guards

Detected by CppCheck

Signed-off-by: Boris Egorov <egorov@linux.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
lua: add libdir to lua dir list on OS/2

Installed version cannot find lua scripts.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
demux: mkv: move mp4 include off top level
demux: mp4: add restriction for frma atom
demux: libmp4: add mp4a/mp4v esds restrictions
demux: mp4: fix naming of objectProfileIndication
demux: mp4: set pointer to relase function into box

Possible could crash because release function was
not correctly matched du to missing parent id check.

Better save it into box instead of doing another lookup,
and because box could have been detached from parent.
input: stream_memory: handle skip reads

Regular streams skip if p_read is NULL.
en50221: avoid one memory copy (refs #12307)
twolame: add error checking
twolame: avoid buffer overflow

Refs #12298
flac: reset decoder on end of stream (fixes #9298)
twolame: fix chain deallocation
macosx: video effects: avoid type mismatch warning
macosx: add comment for application:openFiles: usage
macosx: do not start same input item twice of startup

For playlist-autostart, PLAYLIST_PLAY is used now which does not restart
the current item if there is already one running.

This avoids restart of the same item in a quick succession, and thus
workarounds the issue described in refs #11488.