file audio output: fix float endianess

(cherry picked from commit d83bc62511663138a20d1a9f66b0d8a442421148)

Conflicts:
	modules/audio_output/file.c
mkv: fix call to ES_OUT_SET_NEXT_DISPLAY_TIME

(cherry picked from commit 9002730fbd83123aae1f69f162e4275f595f9f9e)

Conflicts:
	modules/demux/mkv/matroska_segment.cpp
avformat: fix use-after-free in error path
(cherry picked from commit 50fe8e1180d012caf19d421229143344d4242405)

Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
aout: fix memory leak

(not cherry-picked from f8e940016f9d710ebfafe8e3898fe591dd9c76c2)
lua: fix "center" OSD alignment (refs #6326)

(cherry picked from commit c1157eb5cc71a6c1c2210957bcc7f9cc0c744d6a)
lua: fix right OSD alignment (refs #6326)

(cherry picked from commit eeb201b9b0823b88b69372ced5f674cba66a461f)
lib: correct and uniformize audio/video track IDs (fixes #7645)

(cherry picked from commit 2c5ee1707b1962ee3f47dbe4abb7c199aeccc022)
libvlc news
Some RTSP implementations (Foscam H.264 IP cameras) return HTTP/1.1 501 Unimplemented on OPTIONS requests. Don't fail out in this case; just continue and assume GET_PARAMETERS is unsupported.

I have a Foscam h.264 IP camera with a very strange RTSP-over-HTTP
server, and I wanted to get VLC to play it back.  Here's the patch
to VLC; I also had a patch committed to live555 to resolve a few
other issues, and that's available in live.2012.09.13.tar.gz.  Do I
need to submit a patch to contrib/src/live555/rules.mak to pick that
new version up?  Or is there a special process for that?  Or should
I just wait a little bit?  :)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 31180356048402d449f4ee765da20e67ff7e8005)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
AIFF: avoid division by 0

Close #7739
(cherry picked from commit d82327460779ea62d6debc0e08b7f57c7bf384a4)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
macosx: fixed crash when terminating while the progress panel is displayed
(cherry picked from commit 6c62d7475dce83cbc116f4bcc470ee4f9078e6c1)

Conflicts:
	modules/gui/macosx/intf.m
macosx: fix crash when displaying the Media Information panel with disabled local stats
(cherry picked from commit a44da88b77a1fe47f5e49c11106261d8b50315f8)

Conflicts:
	modules/gui/macosx/playlistinfo.m
macosx: fix incorrect text shadow offset (close #7630)
(cherry picked from commit 94d4f4a69c9c424ab1f782b6e5461a9eed16bb41)
AVformat: do not use static attachment pictures as stream
(cherry picked from commit 89a3302c734f2195b620e1bca12670834abd18c9)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
FreeType: fix NULL deref on embedded fonts (fixes #7771)

FT_Face.family_name can be NULL for embedded fonts.

See also http://www.freetype.org/freetype2/docs/reference/ft2-base_interface.html#FT_FaceRec
(cherry picked from commit d96f6e23adfd24ec188cb2a7b31cc2e992291172)
subsdec: close <font> correctly

(cherry picked from commit 744121f4461e064e2f26f406c64c9091c95d5e43)
subsdec: really fix buffer overflows

Reported-by: Aliz Hammond
(cherry picked from commit ee86514d1cb1fe5ec25c8bdfb2a4b6a8d98591e7)
PulseAudio: fix segmentation fault

Reported by: Rainer Hurling
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
(cherry picked from commit 7751dc1fb827256b226fe49bd99fe6a5f37f5c8a)
DTV: use vlc_open(|at) to work-around O_CLOEXEC

(not cherry-picked from 374fc686a22063c060d36582f0e90ab1a57ab33e)
DTV: fix DVB-S autodetection

(cherry picked from commit 1c858fbdf23e7bfc93bcab47193ce5100cd61e7a)