vlc/vlc-2.2.git
2 weeks agol10n: Dutch update Dutch translation update for 2.2.x send per request from Thomas... master
Michał Trzebiatowski [Wed, 22 Nov 2017 22:45:26 +0000 (23:45 +0100)]
l10n: Dutch update Dutch translation update for 2.2.x send per request from Thomas De Rocker (dutch translator)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agodemux: avi: check stride width
Francois Cartegnie [Wed, 22 Nov 2017 23:23:41 +0000 (00:23 +0100)]
demux: avi: check stride width

6298967bf63cccbdc290a78c53dc97df69bd3d71 backport

3 weeks agodemux: avi: fix null deref
Francois Cartegnie [Wed, 22 Nov 2017 23:21:49 +0000 (00:21 +0100)]
demux: avi: fix null deref

b50e8f4388696aa1698fd7c3846b5d7962e5ca02 backport

3 weeks agodemux: avi: really fix chunk type check
Francois Cartegnie [Wed, 22 Nov 2017 11:01:36 +0000 (12:01 +0100)]
demux: avi: really fix chunk type check

eb46af662809b554ba8beb16ea5401535b2cdbd4 backport

3 weeks agoyoutube.lua: update video format selection to website changes
Pierre Ynard [Tue, 21 Nov 2017 20:59:35 +0000 (21:59 +0100)]
youtube.lua: update video format selection to website changes

The format of the Youtube API parameters used to list the available
video resolutions changed slightly. This fixes usage of the
--preferred-resolution option.

(cherry picked from commit 75391aa0670790d5dc87af0d407765f50bff8eab)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
3 weeks agoUpdate SO revision 2.2.8
Rémi Denis-Courmont [Tue, 21 Nov 2017 18:41:54 +0000 (20:41 +0200)]
Update SO revision

3 weeks agoOn the road to 2.2.8
Jean-Baptiste Kempf [Tue, 21 Nov 2017 18:33:50 +0000 (19:33 +0100)]
On the road to 2.2.8

3 weeks agoUpdate NEWS for AVI issue
Jean-Baptiste Kempf [Tue, 21 Nov 2017 18:30:01 +0000 (19:30 +0100)]
Update NEWS for AVI issue

3 weeks agodemux: libavi: force chunk type check
Francois Cartegnie [Tue, 21 Nov 2017 17:47:24 +0000 (18:47 +0100)]
demux: libavi: force chunk type check

avi breakable since 2002 by mutating single chunks as LIST

2be0155e2895ad45d6f8bae3e1e8ef712182a57c backport

3 weeks agol10n: Turkish update
Michał Trzebiatowski [Fri, 17 Nov 2017 22:09:06 +0000 (23:09 +0100)]
l10n: Turkish update

The Turkish update was missing in the last sending

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Simplified Chinese update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:43 +0000 (22:19 +0100)]
l10n: Simplified Chinese update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Ukrainian update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:42 +0000 (22:19 +0100)]
l10n: Ukrainian update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Slovak update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:40 +0000 (22:19 +0100)]
l10n: Slovak update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Russian update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:39 +0000 (22:19 +0100)]
l10n: Russian update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Polish update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:38 +0000 (22:19 +0100)]
l10n: Polish update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Japanese update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:37 +0000 (22:19 +0100)]
l10n: Japanese update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Italian update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:36 +0000 (22:19 +0100)]
l10n: Italian update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: Hungarian update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:35 +0000 (22:19 +0100)]
l10n: Hungarian update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agol10n: German update
Michał Trzebiatowski [Fri, 17 Nov 2017 21:19:34 +0000 (22:19 +0100)]
l10n: German update

Missing translation update for the 2.2 branch after the last l10n-update was synchronized with the latest pot file.
That would be the final l10n-updates for 2.2.x

Signed-off-by: Michał Trzebiatowski <michtrz@gmail.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 weeks agoUpdate NEWS 2.2.7
Jean-Baptiste Kempf [Thu, 16 Nov 2017 17:21:39 +0000 (18:21 +0100)]
Update NEWS

3 weeks agodemux: avi: fix write/read overflow
Francois Cartegnie [Thu, 16 Nov 2017 11:00:10 +0000 (12:00 +0100)]
demux: avi: fix write/read overflow

f571d59273b881dfd8cd69b5ff6913b566e26fb8 backport

4 weeks agoUpdate NEWS for 2.2.7
Jean-Baptiste Kempf [Wed, 15 Nov 2017 16:03:07 +0000 (17:03 +0100)]
Update NEWS for 2.2.7

4 weeks agoUpdate PO
Jean-Baptiste Kempf [Wed, 15 Nov 2017 15:47:16 +0000 (16:47 +0100)]
Update PO

4 weeks agomtp: fix initialization to avoid segfault on close
Romain Vimont [Fri, 10 Nov 2017 21:56:42 +0000 (22:56 +0100)]
mtp: fix initialization to avoid segfault on close

When an Android device is plugged with MTP disabled, the tracks may not
be retrieved.

In that branch of code, pp_items was never initialized, so the behavior
was undefined in CloseDevice() (on device unplug), often causing a
segfault.

Initialize it to NULL to fix the problem.

Signed-off-by: Romain Vimont <rom@rom1v.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 3ff283bc176b2dd2e83bb7cd7358eb2a0104124c)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
4 weeks agol10n: Traditional Chinese update
VideoLAN [Sun, 12 Nov 2017 11:17:13 +0000 (06:17 -0500)]
l10n: Traditional Chinese update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Simplified Chinese update
Dean Lee [Sun, 12 Nov 2017 11:14:54 +0000 (06:14 -0500)]
l10n: Simplified Chinese update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Ukrainian update
Andriy Bandura [Sun, 12 Nov 2017 11:11:55 +0000 (06:11 -0500)]
l10n: Ukrainian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Tatar update
VideoLAN [Sun, 12 Nov 2017 11:10:20 +0000 (06:10 -0500)]
l10n: Tatar update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Turkish update
Kaya Zeren [Sun, 12 Nov 2017 11:09:19 +0000 (06:09 -0500)]
l10n: Turkish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Thai update
VideoLAN [Sun, 12 Nov 2017 11:08:18 +0000 (06:08 -0500)]
l10n: Thai update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Swedish update
A. Regnander [Sun, 12 Nov 2017 11:06:27 +0000 (06:06 -0500)]
l10n: Swedish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Serbian update
VideoLAN [Sun, 12 Nov 2017 11:04:10 +0000 (06:04 -0500)]
l10n: Serbian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Albanian update
VideoLAN [Sun, 12 Nov 2017 11:01:42 +0000 (06:01 -0500)]
l10n: Albanian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Slovenian update
VideoLAN [Sun, 12 Nov 2017 10:59:51 +0000 (05:59 -0500)]
l10n: Slovenian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Slovak update
Marián Hikaník [Sun, 12 Nov 2017 10:58:16 +0000 (05:58 -0500)]
l10n: Slovak update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Russian update
Alexander Lakhin [Sun, 12 Nov 2017 10:57:10 +0000 (05:57 -0500)]
l10n: Russian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Portuguese update
Bruno Miguel Queiros [Sun, 12 Nov 2017 10:56:06 +0000 (05:56 -0500)]
l10n: Portuguese update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Polish update
Michał Trzebiatowski [Sun, 12 Nov 2017 10:52:12 +0000 (05:52 -0500)]
l10n: Polish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Norwegian Nynorsk update
VideoLAN [Sun, 12 Nov 2017 10:49:17 +0000 (05:49 -0500)]
l10n: Norwegian Nynorsk update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Dutch update
Thomas De Rocker [Sun, 12 Nov 2017 10:47:15 +0000 (05:47 -0500)]
l10n: Dutch update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Norwegian Bokmål update
VideoLAN [Sun, 12 Nov 2017 10:45:29 +0000 (05:45 -0500)]
l10n: Norwegian Bokmål update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Malay update
VideoLAN [Sun, 12 Nov 2017 10:41:55 +0000 (05:41 -0500)]
l10n: Malay update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Mongolian update
VideoLAN [Sun, 12 Nov 2017 10:40:08 +0000 (05:40 -0500)]
l10n: Mongolian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Latvian update
Ingmārs Dīriņš [Sun, 12 Nov 2017 10:37:45 +0000 (05:37 -0500)]
l10n: Latvian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Lithuanian update
VideoLAN [Sun, 12 Nov 2017 10:35:47 +0000 (05:35 -0500)]
l10n: Lithuanian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Kurdish (Iraq) update
VideoLAN [Sun, 12 Nov 2017 10:33:46 +0000 (05:33 -0500)]
l10n: Kurdish (Iraq) update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Korean update
VideoLAN [Sun, 12 Nov 2017 10:30:59 +0000 (05:30 -0500)]
l10n: Korean update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Kannada update
VideoLAN [Sun, 12 Nov 2017 10:29:54 +0000 (05:29 -0500)]
l10n: Kannada update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Japanese update
Fumio Nakayama [Sun, 12 Nov 2017 10:27:59 +0000 (05:27 -0500)]
l10n: Japanese update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Italian update
Vincenzo Reale [Sun, 12 Nov 2017 10:27:03 +0000 (05:27 -0500)]
l10n: Italian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Icelandic update
Sveinn í Felli [Sun, 12 Nov 2017 10:24:59 +0000 (05:24 -0500)]
l10n: Icelandic update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Armenian update
VideoLAN [Sun, 12 Nov 2017 10:23:46 +0000 (05:23 -0500)]
l10n: Armenian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Hungarian update
VideoLAN [Sun, 12 Nov 2017 10:11:09 +0000 (05:11 -0500)]
l10n: Hungarian update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Hebrew update
Yaron Shahrabani [Sun, 12 Nov 2017 10:07:05 +0000 (05:07 -0500)]
l10n: Hebrew update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Irish update
VideoLAN [Sun, 12 Nov 2017 10:05:28 +0000 (05:05 -0500)]
l10n: Irish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: French update
VideoLAN [Sun, 12 Nov 2017 10:03:37 +0000 (05:03 -0500)]
l10n: French update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Spanish update
David González [Sun, 12 Nov 2017 09:59:38 +0000 (04:59 -0500)]
l10n: Spanish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: German update
Michał Trzebiatowski [Sun, 12 Nov 2017 09:55:39 +0000 (04:55 -0500)]
l10n: German update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Danish update
VideoLAN [Sun, 12 Nov 2017 09:52:09 +0000 (04:52 -0500)]
l10n: Danish update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Czech update
Tomáš Chvátal [Sun, 12 Nov 2017 09:47:43 +0000 (04:47 -0500)]
l10n: Czech update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Corsican update
VideoLAN [Sun, 12 Nov 2017 09:45:29 +0000 (04:45 -0500)]
l10n: Corsican update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Azerbaijani update
VideoLAN [Sun, 12 Nov 2017 09:36:18 +0000 (04:36 -0500)]
l10n: Azerbaijani update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
4 weeks agol10n: Assamese (India) update
VideoLAN [Sun, 12 Nov 2017 09:32:50 +0000 (04:32 -0500)]
l10n: Assamese (India) update

Signed-off-by: Christoph Miebach <christoph.miebach@web.de>
7 weeks agocontrib/libass: fix CoreText detection on OS X < 10.8 (fixes #18583)
Felix Paul Kühne [Sun, 22 Oct 2017 15:51:55 +0000 (17:51 +0200)]
contrib/libass: fix CoreText detection on OS X < 10.8 (fixes #18583)

7 weeks agocontrib/libass: don't enforce use of fontconfig on appleOS
Felix Paul Kühne [Sun, 4 Dec 2016 12:34:12 +0000 (13:34 +0100)]
contrib/libass: don't enforce use of fontconfig on appleOS

(cherry picked from commit 8a922414eb3bc08e5458371f7618dc7f5378caaf)

7 weeks agovout: fix overflow in subpicture sar
Francois Cartegnie [Sat, 21 Oct 2017 18:54:13 +0000 (20:54 +0200)]
vout: fix overflow in subpicture sar

triggers incorrect sar / subpicture size when
sar is set (scaling down)

backport of c2f5a6fce003fcfb0fda3fb0fcda28ec0d801e6a

8 weeks agoUpdates NEWS for macOS
David Fuhrmann [Tue, 17 Oct 2017 21:17:15 +0000 (23:17 +0200)]
Updates NEWS for macOS

8 weeks agomacosx: Try to fix volume buttons with apple remote on 10.13
David Fuhrmann [Mon, 16 Oct 2017 17:00:49 +0000 (19:00 +0200)]
macosx: Try to fix volume buttons with apple remote on 10.13

macOS High Sierra remapped the volume up / down buttons on the
apple remote. This patch tries to fix that by adding the new
cookies.

refs #18894

(cherry picked from commit 6021599dd6b39426b353e67fd6073d6d68353ef4)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
8 weeks agomacosx: Make sure core dialogs xib is loaded on main thread
David Fuhrmann [Sun, 15 Oct 2017 19:05:50 +0000 (21:05 +0200)]
macosx: Make sure core dialogs xib is loaded on main thread

In some situations, the xib was loaded from another thread as the
getter was used there, first. This is not allowed and leads to
crashes.
Problem was mainly noticable when a invalid file was opened and
the error panel was triggered.

fix #18917

8 weeks agomacosx: Move some callback code to the main thread
David Fuhrmann [Sun, 15 Oct 2017 19:03:32 +0000 (21:03 +0200)]
macosx: Move some callback code to the main thread

This is already fixed in vlc.git.
refs #18917

2 months agoos2: package: enable libass and fribidi
KO Myung-Hun [Wed, 9 Aug 2017 10:44:02 +0000 (19:44 +0900)]
os2: package: enable libass and fribidi

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 months agosoundcloud.lua: update API magic
Pierre Ynard [Tue, 12 Sep 2017 21:20:54 +0000 (23:20 +0200)]
soundcloud.lua: update API magic

(cherry picked from commit d1270af295be9091ae24cb296ca3ede74ef9adb4)
Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
3 months agocontrib/faad2: add patch to prevent crash on SCE followed by CPE
Filip Roséen [Sat, 25 Mar 2017 03:21:35 +0000 (04:21 +0100)]
contrib/faad2: add patch to prevent crash on SCE followed by CPE

fixes: #18128

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
backport of 57dcb5bce452328ff508315ba434fb6e4dece6dc

3 months agocontribs: faad2: fix 7.1 channels detection
Francois Cartegnie [Tue, 28 Feb 2017 20:16:12 +0000 (21:16 +0100)]
contribs: faad2: fix 7.1 channels detection

refs AAC 7.1 (channel_configuration 0 + PCE, 3 front, 2 side, 2 back, lfe).mp4

backport of 297c8bbfdf193d077d2749d3716aba44d234728d

3 months agocontribs: faad2: disable DRC extensions
Francois Cartegnie [Thu, 23 Feb 2017 09:41:32 +0000 (10:41 +0100)]
contribs: faad2: disable DRC extensions

Implementation is broken due to use of
arbitrary reference level instead of
normalized level.
Fallback to not better than libav.
fixes #9629

backport of 43918c106a3c1d303b3cd087c89b9db7eb0a4029

3 months agodemux: subtitle: fix sami loop (fix #18785)
Francois Cartegnie [Sun, 10 Sep 2017 13:57:16 +0000 (15:57 +0200)]
demux: subtitle: fix sami loop (fix #18785)

happens when a start= is on same line

backport of 4378d5f91ef54e5d75e95a13580f11bed16d79d7

3 months agoupnp: Add support for libupnp 1.8
Sebastian Ramacher [Wed, 30 Aug 2017 18:44:26 +0000 (20:44 +0200)]
upnp: Add support for libupnp 1.8

Callbacks now take const void* as second argument and some members can
only be accessed via getter functions.

Signed-off-by: Sebastian Ramacher <sramacher@debian.org>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 3eb4e03512f45c1fa27c7f9a6759e8e7d3905720)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
3 months agoremoteosd: fix gcry_ciper_open() error handling
Zhouyang [Mon, 7 Aug 2017 14:31:19 +0000 (22:31 +0800)]
remoteosd: fix gcry_ciper_open() error handling

Fixes #18656.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
3 months agoinhibit/dbus: fix flawed logic
Rémi Denis-Courmont [Sat, 2 Sep 2017 16:51:51 +0000 (19:51 +0300)]
inhibit/dbus: fix flawed logic

(cherry picked from commit bfb8ace0523a0b4f66a86b87f7cb11adbfb095ea)

3 months agomacosx: sparkle: Disable automatic update installation
David Fuhrmann [Sun, 27 Aug 2017 15:16:08 +0000 (17:16 +0200)]
macosx: sparkle: Disable automatic update installation

As recommended by [1], apps using Sparkle < 1.11.1 shall disable
automatic update installation as they might be failures during
update at shutdown.
Only for vlc-2.2, as this will be fixed by the sparkle version
going to be used in vlc.git.

[1] https://sparkle-project.org/documentation/upgrading/

3 months agosparkle: Fix longstanding crash in automatic update search
David Fuhrmann [Tue, 22 Aug 2017 13:49:56 +0000 (15:49 +0200)]
sparkle: Fix longstanding crash in automatic update search

Our patch to sparkle introduced a crash during runtime, as key
and object was swapped and the key could not be copied.

The relevant code path was in SUBasicUpdateDriver.m ->
didFindValidUpdate, which crashed if it was called.
This code path is used in the following circumstances:
- The user configured sparkle to automatically download and
  install updates (this is an option you can change if an update is
  announced to the user).
- An update is actually available
- The automatic update check tries to search for an update and
  finds the update.

User behaviour:
- Update check is performed every 24h, which crash VLC once
  performed and update was found.
- Before the crash, last update check timestamp is saved still.
- VLC now works for 24 h without update related crash.
- If VLC is started after 24 h again, a new update check is performed
  and VLC crashes again.

fixes #18148

4 months agoasx: Reject MRL bigger than 32K
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 10:15:05 +0000 (12:15 +0200)]
asx: Reject MRL bigger than 32K

4 months agoasx: Fix mismatching sizeof in allocation
Hugo Beauzée-Luyssen [Fri, 21 Jul 2017 09:42:27 +0000 (11:42 +0200)]
asx: Fix mismatching sizeof in allocation

5 months agodecoder: check visible size when creating buffer
Francois Cartegnie [Thu, 29 Jun 2017 09:09:02 +0000 (11:09 +0200)]
decoder: check visible size when creating buffer

early reject invalid visible size
mishandled by filters.

refs #18467

5 months agocodec: avcodec: check avcodec visible sizes
Francois Cartegnie [Thu, 29 Jun 2017 07:45:20 +0000 (09:45 +0200)]
codec: avcodec: check avcodec visible sizes

refs #18467

5 months agopacketizer: h264: fix next VCL NAL test
Francois Cartegnie [Thu, 23 Apr 2015 21:41:17 +0000 (23:41 +0200)]
packetizer: h264: fix next VCL NAL test

According to ISO 14496-10 7.4.1.2.4,
next first NAL of next picture appears when
nal_ref_ids differs with one being equal to 0.

(cherry picked from commit 431812a1fdb400fe4d1051ca40575ce2b09ba535)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agodirect3d9: Use a big enough back buffer
Hugo Beauzée-Luyssen [Tue, 13 Jun 2017 12:12:22 +0000 (14:12 +0200)]
direct3d9: Use a big enough back buffer

This fixes display of videos with resolution bigger than the screen
resolution when autoscale is off.
Fix #18413

(cherry picked from commit a8e0c5c8c2392668d2b12ea49fe7e431ac285c9d)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agopacketizer: h264: set EOS flag
Francois Cartegnie [Mon, 12 Jun 2017 21:40:51 +0000 (23:40 +0200)]
packetizer: h264: set EOS flag

bp of bcb8f9046ffb245a9cbe47f039da346eab9287c2

6 months agocodec: avcodec: fix drain on eos
Francois Cartegnie [Mon, 12 Jun 2017 21:40:04 +0000 (23:40 +0200)]
codec: avcodec: fix drain on eos

bp of 84c871bb019a5f84070f5ad3d0b609cca2a001ab

6 months agodirect3d: Don't copy from an odd offset
Hugo Beauzée-Luyssen [Thu, 1 Jun 2017 09:08:58 +0000 (11:08 +0200)]
direct3d: Don't copy from an odd offset

This can (and often will) make StretchRect fail
(cherry-picked from commit 4a4d32f251cda32a2aee0fff9a49563da8c6f0cb)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agoOn the road to 2.2.7
Hugo Beauzée-Luyssen [Wed, 24 May 2017 09:30:49 +0000 (11:30 +0200)]
On the road to 2.2.7

6 months agocodec: flac: fix heap write overflow on frame format change
Francois Cartegnie [Wed, 31 May 2017 11:02:29 +0000 (13:02 +0200)]
codec: flac: fix heap write overflow on frame format change

bp of 83b646f1e8fb89f99064d9aaef3754ccc77bbeac

6 months agoRevert "subtitle: Fix potential memory leaks" 2.2.6
Hugo Beauzée-Luyssen [Wed, 24 May 2017 10:36:19 +0000 (12:36 +0200)]
Revert "subtitle: Fix potential memory leaks"

This reverts commit 85f38701259e07a843a7ee1dd51959151a7bb050.

6 months agoUpdate NEWS
Hugo Beauzée-Luyssen [Wed, 24 May 2017 09:27:06 +0000 (11:27 +0200)]
Update NEWS

6 months agodirect3d9: Fix spu texture mapping
Hugo Beauzée-Luyssen [Tue, 23 May 2017 18:25:47 +0000 (20:25 +0200)]
direct3d9: Fix spu texture mapping

(cherry-picked from commit bec643e42c8f831c0f9e6fd615797a6d6eef699a)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agod3d9: Don't ignore source offsets
Hugo Beauzée-Luyssen [Tue, 23 May 2017 18:07:38 +0000 (20:07 +0200)]
d3d9: Don't ignore source offsets

(cherry picked from commit a0f1bfc2f21899e08717ea89c88ca7c4260f0809)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agoUpdate NEWS
Hugo Beauzée-Luyssen [Thu, 18 May 2017 14:10:36 +0000 (16:10 +0200)]
Update NEWS

6 months agosubtitle: Fix potential memory leaks
Hugo Beauzée-Luyssen [Thu, 18 May 2017 14:08:25 +0000 (16:08 +0200)]
subtitle: Fix potential memory leaks

(cherry picked from commit c2e45c4ecf2d51820dfe095d89e8b9379c8df4ca)

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agosubtitle: Fix potential heap buffer overflow
Hugo Beauzée-Luyssen [Fri, 28 Apr 2017 11:56:46 +0000 (13:56 +0200)]
subtitle: Fix potential heap buffer overflow

Reported-by: Yannay Livneh <yannayl@checkpoint.com>
             Omri Herscovici <omrih@checkpoint.com>
             Omer Gull <omergu@checkpoint.com>

(cherry picked from commit f2b1f9e3538fc30ecc22b90bcb4300f68d703d30)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
6 months agosubtitle: Fix potential heap buffer overflow
Hugo Beauzée-Luyssen [Fri, 28 Apr 2017 08:00:11 +0000 (10:00 +0200)]
subtitle: Fix potential heap buffer overflow

Reported-by: Yannay Livneh <yannayl@checkpoint.com>
             Omri Herscovici <omrih@checkpoint.com>
             Omer Gull <omergu@checkpoint.com>

(cherry picked from commit 611398fc8d32f3fe4331f60b220c52ba3557beaa)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>