h264: add an enum for SEI messages
h264: kill a warning in nal_decode by making src pointer const
input: waiting and flushing states should be mutually exclusive

A crash could occur in the following situation:
1) A video decoder is created and starts waiting for the first picture:
   b_waiting = true, b_first = true

2) The first picture is received but the decoder is still in waiting mode:
   b_waiting = true, b_first = false

3) A second picture is received, the decoder is now waiting in
DecoderWaitUnblock().

4) From the input thread, an EOF event is received, EsOutChangePosition is
called and sets the decoder in flushing mode.

5) The decoder thread wakes up and exits DecoderWaitUnblock because
b_flushing is true. However this triggers the assertion in
DecoderDecodeVideo since we have b_waiting && !b_first.

Fix #11892, #12041
hds: fix leaks
mp4 mux: do not advertise non mov files as QuickTime files

Fix AAC-LC playback with QT 10.3 (727.4)
flac: fix memory leak

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
flac: check block allocation

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
avcodec: fix memory leaks of frame side-data

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
mmal: Add shared code for handling mmal pictures

Outsource some of the picture handling code from the mmal video_output into a
dedicated file. This is required as it will be used by the mmal filter plugin
later on as well.

Signed-off-by: Julian Scheel <julian@jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
qt4: Define Q_DECL_OVERRIDE for Qt4

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
qt4: Replace redundant virtual with Q_DECL_OVERRIDE

Declaring a virtual function in a subclass as virtual may be a good
documentation that we are overriding a method from the superclass but
has no effect during compilation. With C++11, we can use the override
keyword for this (which will even trigger a compiler error if we try to
override a non-virtual function).

To stay backwards-compatible, we use Qt5's Q_DECL_OVERRIDE macro to
support C++ <11.

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
qt4: Add a 'virtual vs Q_DECL_OVERRIDE' section

This should explain when to use the virtual keyword or the
Q_DECL_OVERRIDE macros on virtual function declarations.

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
mp4 demux: fix memory leak when demuxing (e)ac-3

the default handler would read them as soun atom but fail to free them
mp4 demux: read dec3 box
mp4 mux: write dac3 and dec3 boxes for (e)ac-3
mp4 demux: use defines for (e)ac-3
demux: mp4: fix integer overflow (fix #12074)
wl/shm: use separate queue

This should fix deadlocks with the mainloop (in wl/shell_surface).
x11: indent
wl/shm: correct crop values

This does not work properly because swscale is busted (it assumes that
cropping is only on the bottom and right side).