Commit Graph

78823 Commits

Author SHA1 Message Date
David Fuhrmann e9eceaed4d Update NEWS 2022-10-13 18:26:02 +02:00
Tristan Matthews 4d9fbf01fe contrib: aom: update to 3.5.0
See release notes: https://aomedia.googlesource.com/aom/+/refs/tags/v3.5.0

(cherry picked from commit 27110b65c7)
2022-10-12 18:07:27 +00:00
Steve Lhomme ad26d63aa4 picture: align picture width to 64
It seems the latest FFmpeg requires 64 bits alignment for some I420 output.

Fixes #27285

(cherry picked from commit fa75a43b0b)

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2022-10-12 15:08:12 +00:00
David Fuhrmann 535e17ff9f On the road to 3.0.18, final NEWS update 2022-10-11 14:47:43 +00:00
Brad Smith 4492db0c00 configure: use pkg-config file for sndio
(cherry picked from commit a9406397ed)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>

Conflicts:
	configure.ac
2022-10-08 16:10:23 +03:00
David Fuhrmann 4b5506e3ff Update po
Fixes some fuzzy strings which are not connected to correct source
file.
2022-10-04 08:35:54 +02:00
VideoLAN e0dc425706 l10n: Chinese (China) update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:44 +02:00
VideoLAN 34260a761a l10n: Swedish update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:44 +02:00
VideoLAN ee3714c928 l10n: Slovenian update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:44 +02:00
VideoLAN 48b532203b l10n: Portuguese (Portugal) update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:43 +02:00
VideoLAN e8f0caa4c6 l10n: Malayalam update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:43 +02:00
VideoLAN f7a3d10d3c l10n: Korean update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:43 +02:00
VideoLAN 03f9ae417c l10n: Georgian update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:43 +02:00
VideoLAN a286463281 l10n: Croatian update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:43 +02:00
VideoLAN 1e326acedb l10n: Estonian update
InfoPlist.strings: 100% translated

Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-10-03 15:19:42 +02:00
Marvin Scholz fef232f9f5 darwinvlc: Use FromCFString
(cherry picked from commit d75d12bee2)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-10-01 08:05:30 +00:00
Marvin Scholz cdd6c77072 darwin/dirs: Use FromCFString
(cherry picked from commit 82c18a3b4b)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-10-01 08:05:30 +00:00
Marvin Scholz cbe4fe42c6 auhal: Use FromCFString
Fix #27043

(cherry picked from commit 43663467cb)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-10-01 08:05:30 +00:00
Marvin Scholz 4650bfe24d text_renderer/freetype: Use FromCFString on darwin
(cherry picked from commit 960a48626d)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-10-01 08:05:30 +00:00
Marvin Scholz 0a0605d7c8 upnp: Use FromCFString from vlc_charset.h 2022-10-01 08:05:30 +00:00
Marvin Scholz 233b0b87a0 include/vlc_charset: Add FromCFString for darwin
This is a helper function to obtain the copy of a char* from a
CFStringRef.

Changes compared to master:
 - Include CFString.h instead of the umbrella header
   to prevent a type clash with guid_t declared in the
   CoreFoundation headers.

(cherry picked from commit f4b5726854)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-10-01 08:05:30 +00:00
Marvin Scholz bc26665276 upnp: Rename FromCFString
Preparation to add it to vlc_charset.h
2022-10-01 08:05:30 +00:00
David Fuhrmann ed93768ced configure.ac: Correctly set version to 3.0.18-rc2 2022-09-30 10:36:07 +02:00
Romain Vimont 4fcace6180 vnc: fix possible buffer overflow
Thanks to 0xMitsurugi [1] from Synacktiv [2] for the bug report and fix.

[1] https://twitter.com/0xMitsurugi
[2] https://www.synacktiv.com/

Fixes #27335

(cherry picked from commit 5eb783fd44)
2022-09-29 21:04:07 +02:00
Francois Cartegnie 38bc5514ce demux: ogg: check ogg_sync_buffer allocs
(cherry picked from commit 03100bbd06)
2022-09-29 21:03:47 +02:00
Francois Cartegnie 2154ab15f8 demux: mp4: fix qtff v1 divbyzero 2022-09-28 20:54:22 +02:00
David Fuhrmann 13426fb3eb Update NEWS for 3.0.18-rc2
Update news, and bump version to 3.0.18-rc2.
2022-09-28 20:23:52 +02:00
Steve Lhomme d7ddba57d8 contrib: ffmpeg: update to the latest 4.4 hash
In particular with the "lavc/pthread_frame: always transfer stashed hwaccel
state" fix for #27343

(cherry picked from commit dc1dea6ddd) (edited)

edited:
* 3.0 supports libav
2022-09-27 12:34:47 +02:00
Alaric Senat 915f83e303 contrib: upnp: remove wrong win32 safe wrappers
Theses wrapper were too naively written and are causing a lot of
regressions on windows.

This has been addressed upstream [1]. And is simply reverted for now,
waiting for a new release.

Fixes #27306

[1] https://github.com/pupnp/pupnp/issues/411

(cherry picked from commit 751e0007e7)
2022-09-22 10:20:40 +00:00
Juliane de Sartiges a4c6e99739 kwallet: fix password search for password with either a realm or authtype
even without an authtype the "?" widlcard was always added to search making
kwallet return no password for that query

(cherry picked from commit 862c4a2d9d)
2022-09-19 15:28:44 +02:00
Marvin Scholz cc4c37ebb3 lua: intf: luac: fix usage instructions
(cherry picked from commit 7c5203ab1a)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz 99c124c572 lua: intf: luac: remove unused requires
(cherry picked from commit 3ccfc79001)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz 3b25a57df3 lua: http: custom: remove deprecated module function
The file directly modifies the global table (_G) so it does not
seem necessary at all to expose anything explicitly.

(cherry picked from commit 33c7a44fd8)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz 182e7f9e72 lua: host: do not use deprecated module function
(cherry picked from commit 4109a34d64)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz b922d86fa0 lua: httprequests: do not use deprecated module function
(cherry picked from commit 82dd26ccaf)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz 251ef7ee09 lua: simplexml: do not use deprecated module function
(cherry picked from commit c8a59b0ed0)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz 3ebac7971e lua: sandbox: do not use deprecated module function
(cherry picked from commit 94aa14103d)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz e5ba5793de lua: common: do not use deprecated module function
(cherry picked from commit bfc88aa7a1)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Marvin Scholz 0e909a13ae share: lua: remove $Id$ magic comments
These were used by SVN, we are no longer using that though.

(cherry picked from commit 6995265a57)
Signed-off-by: Marvin Scholz <epirat07@gmail.com>
2022-09-17 07:25:33 +00:00
Martin Storsjö 01dd8180f0 projectM: Force building with a specific older C++ version
This fixes errors like these:

libprojectM/projectM.hpp:303:8: error: no template named 'auto_ptr' in namespace 'std'
  std::auto_ptr<Preset> m_activePreset;
  ~~~~~^

The std::auto_ptr type was deprecated in C++11 and removed in C++17.

The VLC C++ headers use C++11 features, so the only working
alternatives here are C++11 or C++14.

(cherry picked from commit 4100c227d0)
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-09-13 18:38:37 +03:00
Martin Storsjö 41cf40b179 contrib: modplug: Force building with a specific older C++ version
This project uses the 'register' storage class specifier for a lot
of variables, and C++17 disallows that storage class spcifier.

This fixes building with newer compilers that default to C++17
if nothing is specified (which is the default since GCC 11
and Clang 16).

When building with Clang 16 in C++17 mode, it fails with errors
like these:

fastmix.cpp:678:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
        SNDMIX_BEGINSAMPLELOOP8
        ^
fastmix.cpp:291:2: note: expanded from macro 'SNDMIX_BEGINSAMPLELOOP8'
        register MODCHANNEL * const pChn = pChannel;\
        ^

(cherry picked from commit 72e7335d66)
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-09-13 18:38:37 +03:00
Martin Storsjö 0637137ad9 contrib: asdcplib: Force building with a specific older C++ version
This project uses the 'register' storage class specifier for a lot
of variables, and C++17 disallows that storage class spcifier.

This fixes building with newer compilers that default to C++17
if nothing is specified (which is the default since GCC 11
and Clang 16).

When building with Clang 16 in C++17 mode, it fails with errors
like these:

KM_util.cpp:357:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register byte_t c = 0, d = 0;
  ^~~~~~~~~

(cherry picked from commit fb8eb5edd2)
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-09-13 18:38:37 +03:00
Martin Storsjö 3076009b25 contrib: projectM: Force building with a specific older C++ version
This project uses std::auto_ptr, which was deprecated in C++11,
so stick to compiling in C++98 mode. (Either C++98, C++11 or
C++14 would work.)

This fixes building with newer compilers that default to C++17
if nothing is specified (which is the default since GCC 11
and Clang 16).

When building with Clang/libc++ 16 in C++17 mode, it fails with
errors like these:

<build>/projectM/Renderer/RenderItemDistanceMetric.hpp:20:46: error: no template named 'binary_function' in namespace 'std'; did you mean '__binary_function'?
class RenderItemDistanceMetric : public std::binary_function<const RenderItem*, const RenderItem*, double> {
                                        ~~~~~^~~~~~~~~~~~~~~

(The std::binary_function class is removed in C++17.)

(cherry picked from commit 3e29d7f679)
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-09-13 18:38:37 +03:00
Alexandre Janniaux f5e69654c1 mkv: remove deprecated std function
std::mem_fun and std::bind2nd have been deprecated in C++11 and will be
removed in C++17. They were replaced by std::mem_fn and std::bind which
are easier to use.

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
(cherry picked from commit 6fce792e89)
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-09-13 18:38:34 +03:00
Steve Lhomme 7c166c1451 Revert "contrib: ffmpeg: fix a rare crash on some odd files with DVXA"
This reverts commit ad8bbb0d4b.
2022-09-09 09:24:03 +02:00
Steve Lhomme 7a6c749160 contrib: ffmpeg: update to the latest 4.4 version
Includes some fixes backported to 4.4.

(cherry picked from commit af785abd29) (edited)
edited:
- 3.0 also supports libav

Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
2022-09-09 09:20:36 +02:00
Felix Paul Kühne 4bb5e44373 VLSub: add 29 more languages
This adds all languages supported by the OSO backend and fixes #27291.

(cherry picked from commit bfdf6b0569)
2022-09-06 14:06:08 +02:00
Rémi Denis-Courmont 50d440647b araw: fix overflows in 24-bit decoder
The high-order byte is promoted to 'int'. If the high-order bit is set,
this results in an overflow (into the sign bit) when shifted by 24 bits
to the left. This was flagged by the UB sanitiser. To fix that, promote
all bytes to 32-bit unsigned first, to perform overflow-proof unsigned
arithmetic.

Then to avoid aliasing errors, make sure the output is written as signed
32-bit values, since the decoder outputs S32N.

(cherry picked from commit 9260acab6a)
2022-09-03 14:51:33 +00:00
Pierre Ynard 33b0b524b1 youtube.lua: bump up severity of "n" parameter throttling warning
Due to the severely increased complexity of "n" descrambling code, a
quick fix is unfortunately not foreseeable. For now, let users know more
clearly what's going on and what's to expect or not.

Ref #27227

(cherry picked from commit 90dcfa0e78)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-09-03 08:50:38 +00:00
Pierre Ynard 00bd1f2d18 youtube.lua: don't silently fail on "n" descrambling script parsing
The descrambling script section was updated from a simple and linear
chain of calls, to a complex execution tree with conditional branches.
Failure to recognize and parse this call structure (or lack thereof)
resulted in a silent no-op. Add a check to properly report an error.

Ref #27227

(cherry picked from commit b735ef2cde)
Signed-off-by: David Fuhrmann <dfuhrmann@videolan.org>
2022-09-03 08:50:38 +00:00