vlc.git
5 years agopacketizer: flac: fix memory leak
Hannes Domani [Fri, 29 Aug 2014 16:17:17 +0000 (18:17 +0200)]
packetizer: flac: fix memory leak

5 years agowl_shell_surface: basic Wayland shell surface window provider
Rémi Denis-Courmont [Wed, 27 Aug 2014 21:12:40 +0000 (00:12 +0300)]
wl_shell_surface: basic Wayland shell surface window provider

5 years agowindow: define Wayland surface type
Rémi Denis-Courmont [Wed, 27 Aug 2014 16:39:32 +0000 (19:39 +0300)]
window: define Wayland surface type

The convention used here matches with the Qt Wayland native platform,
and seems most generic. Note that Wayland does not allow "sharing"
surface handles between multiple display connections in general, and
multiple processes in particular.

5 years agofontconfig: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 13:22:22 +0000 (15:22 +0200)]
fontconfig: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agofilter_chain: fix memory leaks
Hannes Domani [Thu, 28 Aug 2014 11:25:37 +0000 (13:25 +0200)]
filter_chain: fix memory leaks

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agoDirect3D: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 12:13:03 +0000 (14:13 +0200)]
Direct3D: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agoDirectDraw/Direct3D: make a clean copy of the video-format
Hannes Domani [Thu, 28 Aug 2014 12:08:58 +0000 (14:08 +0200)]
DirectDraw/Direct3D: make a clean copy of the video-format

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoavcodec: fix memory leak
Hannes Domani [Thu, 28 Aug 2014 11:38:12 +0000 (13:38 +0200)]
avcodec: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoWin32 threads: fix memory leak of detached thread
Hannes Domani [Thu, 28 Aug 2014 11:22:33 +0000 (13:22 +0200)]
Win32 threads: fix memory leak of detached thread

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocompat: poll: fix compilation
KO Myung-Hun [Thu, 28 Aug 2014 10:15:58 +0000 (19:15 +0900)]
compat: poll: fix compilation

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoos2: getaddrinfo: fix typo
KO Myung-Hun [Thu, 28 Aug 2014 07:14:51 +0000 (16:14 +0900)]
os2: getaddrinfo: fix typo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agodaala: update NEWS, MODULES_LIST and POTFILES.in
Tristan Matthews [Thu, 28 Aug 2014 07:12:04 +0000 (03:12 -0400)]
daala: update NEWS, MODULES_LIST and POTFILES.in

5 years agodemux: ogg: daala support
Tristan Matthews [Thu, 21 Aug 2014 00:23:41 +0000 (17:23 -0700)]
demux: ogg: daala support

5 years agodaala: add decoder support
Tristan Matthews [Wed, 20 Aug 2014 21:27:04 +0000 (14:27 -0700)]
daala: add decoder support

5 years agoContribs: update Nettle to 2.7.1
Jean-Baptiste Kempf [Thu, 28 Aug 2014 06:36:30 +0000 (08:36 +0200)]
Contribs: update Nettle to 2.7.1

5 years agoFix issues with replaced compat functions in C++ modules
Jean-Baptiste Kempf [Tue, 26 Aug 2014 19:37:06 +0000 (19:37 +0000)]
Fix issues with replaced compat functions in C++ modules

Notably poll, inet*, swab, *rand48, and tsearch

5 years agoegl: revector
Rémi Denis-Courmont [Wed, 27 Aug 2014 19:57:58 +0000 (22:57 +0300)]
egl: revector

5 years agoContribs: update GnuTLS to 3.2.17
Jean-Baptiste Kempf [Mon, 25 Aug 2014 20:41:40 +0000 (22:41 +0200)]
Contribs: update GnuTLS to 3.2.17

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agoContribs: Update Nettle to 2.7
Jean-Baptiste Kempf [Mon, 25 Aug 2014 20:48:45 +0000 (22:48 +0200)]
Contribs: Update Nettle to 2.7

This is required for gnutls 3.2.x+ building

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agolua: reactivate vlclua_net_poll() on windows
Hannes Domani [Sun, 17 Aug 2014 12:38:54 +0000 (14:38 +0200)]
lua: reactivate vlclua_net_poll() on windows

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agofilesystem: avoid potential qsort(NULL)
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:35:27 +0000 (21:35 +0300)]
filesystem: avoid potential qsort(NULL)

5 years agomkv: avoid potential NULL memory comparison
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:31:15 +0000 (21:31 +0300)]
mkv: avoid potential NULL memory comparison

memcmp(NULL, b, 0) and memcpy(a, NULL, 0) are undefined in ISO C.

5 years agovcd: fix NULL dereference on error
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:26:52 +0000 (21:26 +0300)]
vcd: fix NULL dereference on error

5 years agodvb scan: use unsigned indices (CID#1048723)
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:18:37 +0000 (21:18 +0300)]
dvb scan: use unsigned indices (CID#1048723)

5 years agoanaglyph: dead code
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:14:44 +0000 (21:14 +0300)]
anaglyph: dead code

5 years agosap: dead code
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:13:10 +0000 (21:13 +0300)]
sap: dead code

5 years agostream: remove tautology
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:07:32 +0000 (21:07 +0300)]
stream: remove tautology

p_current cannot be NULL.

5 years agoshoutcast: fix NULL deref on error
Rémi Denis-Courmont [Mon, 25 Aug 2014 18:02:37 +0000 (21:02 +0300)]
shoutcast: fix NULL deref on error

5 years agohttpd: reject incoming requests bodies over 64k
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:55:42 +0000 (20:55 +0300)]
httpd: reject incoming requests bodies over 64k

5 years agohttpd: reindent
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:55:28 +0000 (20:55 +0300)]
httpd: reindent

5 years agooss: use software volume on non-FreeBSD targets (refs #11880)
Rémi Denis-Courmont [Mon, 25 Aug 2014 17:06:35 +0000 (20:06 +0300)]
oss: use software volume on non-FreeBSD targets (refs #11880)

5 years agomtime: fix signed integer overflow
Rémi Denis-Courmont [Mon, 25 Aug 2014 15:58:43 +0000 (18:58 +0300)]
mtime: fix signed integer overflow

5 years agoavcodec: disable frame multithreading with dxva2
Felix Abecassis [Mon, 25 Aug 2014 10:07:22 +0000 (12:07 +0200)]
avcodec: disable frame multithreading with dxva2

Fix #11930, #11693

5 years agodecoder: merge both private format structures
Rémi Denis-Courmont [Sun, 24 Aug 2014 18:59:37 +0000 (21:59 +0300)]
decoder: merge both private format structures

5 years agodecoder: merge aout/vout/sout format in private strucutre
Rémi Denis-Courmont [Sun, 24 Aug 2014 18:16:09 +0000 (21:16 +0300)]
decoder: merge aout/vout/sout format in private strucutre

Also fix free() of undefined pointer if sout packetizer is deleted
before it is fed any single block.

5 years agodecoder: inline one function
Rémi Denis-Courmont [Sun, 24 Aug 2014 17:58:46 +0000 (20:58 +0300)]
decoder: inline one function

5 years agognutls: fix compilation with 3.3.0+
Rémi Denis-Courmont [Sun, 24 Aug 2014 17:25:36 +0000 (20:25 +0300)]
gnutls: fix compilation with 3.3.0+

5 years agognutls: require version 3.1.11
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:29:09 +0000 (23:29 +0300)]
gnutls: require version 3.1.11

5 years agohttp: negotiate HTTP/1.1 explicitly over TLS
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:24:37 +0000 (23:24 +0300)]
http: negotiate HTTP/1.1 explicitly over TLS

5 years agohttpd: advertise HTTP/1.1 support over TLS
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:15:02 +0000 (23:15 +0300)]
httpd: advertise HTTP/1.1 support over TLS

5 years agotls: add ALPN parameters
Rémi Denis-Courmont [Sat, 23 Aug 2014 20:10:50 +0000 (23:10 +0300)]
tls: add ALPN parameters

5 years agognutls: add parameter for Application Layer Protocol Negotiation
Rémi Denis-Courmont [Sat, 23 Aug 2014 19:42:50 +0000 (22:42 +0300)]
gnutls: add parameter for Application Layer Protocol Negotiation

5 years agosecuretransport: adapt to latest changes in tls core
David Fuhrmann [Sat, 23 Aug 2014 18:46:32 +0000 (20:46 +0200)]
securetransport: adapt to latest changes in tls core

5 years agognutls: fix memory leaks
Rémi Denis-Courmont [Sat, 23 Aug 2014 14:31:17 +0000 (17:31 +0300)]
gnutls: fix memory leaks

5 years agognutls: drop useless global mutex and init if version >= 3.3.0
Rémi Denis-Courmont [Sat, 23 Aug 2014 14:26:19 +0000 (17:26 +0300)]
gnutls: drop useless global mutex and init if version >= 3.3.0

5 years agognutls: update to version 3.1.9 and simplify
Rémi Denis-Courmont [Sat, 23 Aug 2014 10:42:37 +0000 (13:42 +0300)]
gnutls: update to version 3.1.9 and simplify

5 years agognutls: remove useless per-session structure
Rémi Denis-Courmont [Sat, 23 Aug 2014 10:05:54 +0000 (13:05 +0300)]
gnutls: remove useless per-session structure

5 years agognutls: reorder, inline and turn off server-side if !SOUT
Rémi Denis-Courmont [Sat, 23 Aug 2014 09:12:56 +0000 (12:12 +0300)]
gnutls: reorder, inline and turn off server-side if !SOUT

5 years agognutls: remove useless structure for client-side credentials
Rémi Denis-Courmont [Fri, 22 Aug 2014 22:31:01 +0000 (01:31 +0300)]
gnutls: remove useless structure for client-side credentials

5 years agognutls: move handshake callback to credentials (alongside open/close)
Rémi Denis-Courmont [Fri, 22 Aug 2014 22:15:23 +0000 (01:15 +0300)]
gnutls: move handshake callback to credentials (alongside open/close)

5 years agohttpd: dead code
Rémi Denis-Courmont [Fri, 22 Aug 2014 21:20:02 +0000 (00:20 +0300)]
httpd: dead code

5 years agognutls: remove client certificate support
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:38:43 +0000 (23:38 +0300)]
gnutls: remove client certificate support

This was never used. The web interface requires a password instead.

5 years agognutls: simplify certificate verification
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:32:48 +0000 (23:32 +0300)]
gnutls: simplify certificate verification

5 years agognutls: require version 3.1.4 or later
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:07:07 +0000 (23:07 +0300)]
gnutls: require version 3.1.4 or later

5 years agognutls: fix flawed logic
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:22:44 +0000 (23:22 +0300)]
gnutls: fix flawed logic

val is always zero in the removed code; the verification status is what
actually matters.

5 years agourl: fix out-of-bound read
Rémi Denis-Courmont [Fri, 22 Aug 2014 20:04:39 +0000 (23:04 +0300)]
url: fix out-of-bound read

...if *next is '\0'.

5 years agognutls: does not use sockets (directly)
Rémi Denis-Courmont [Fri, 22 Aug 2014 19:49:11 +0000 (22:49 +0300)]
gnutls: does not use sockets (directly)

5 years agolua: never change index of lua file descriptors
Hannes Domani [Fri, 22 Aug 2014 13:34:21 +0000 (15:34 +0200)]
lua: never change index of lua file descriptors

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
5 years agoEsOutDecodersStopBuffering: remove assert
Rafaël Carré [Fri, 22 Aug 2014 09:55:29 +0000 (11:55 +0200)]
EsOutDecodersStopBuffering: remove assert

The master program clock does not necessarily have a reference
A different program PCR can be issued first, and the assertion
would be triggered since c3bd897e586d906d631a1cdc51232f76ff1ca1fe

5 years agocontrib: x265 1.3
Rafaël Carré [Fri, 22 Aug 2014 06:38:31 +0000 (08:38 +0200)]
contrib: x265 1.3

5 years agoextras/macosx: update codesign script for GateKeeper v2 needed to support future...
Felix Paul Kühne [Thu, 21 Aug 2014 17:35:29 +0000 (19:35 +0200)]
extras/macosx: update codesign script for GateKeeper v2 needed to support future OS X releases

5 years agocontrib: libgcrypt 1.6.2
Rafaël Carré [Thu, 21 Aug 2014 13:56:40 +0000 (15:56 +0200)]
contrib: libgcrypt 1.6.2

5 years agoNow that sout-all is default, make --programs take precedence over it
Rafaël Carré [Thu, 21 Aug 2014 13:21:59 +0000 (15:21 +0200)]
Now that sout-all is default, make --programs take precedence over it

5 years agoQt: force XCB platform so we do not crash if QT_QPA_PLATFORM is set
Rémi Denis-Courmont [Wed, 20 Aug 2014 21:01:40 +0000 (00:01 +0300)]
Qt: force XCB platform so we do not crash if QT_QPA_PLATFORM is set

5 years agoadjust: cosmetics
Rémi Denis-Courmont [Wed, 20 Aug 2014 20:55:42 +0000 (23:55 +0300)]
adjust: cosmetics

5 years agops: fix double free
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:35:07 +0000 (21:35 +0300)]
ps: fix double free

5 years agohds: fix stale pointer
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:29:55 +0000 (21:29 +0300)]
hds: fix stale pointer

5 years agokeys: fix signed overflow
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:19:52 +0000 (21:19 +0300)]
keys: fix signed overflow

5 years agoudev: fix signed overflow
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:15:31 +0000 (21:15 +0300)]
udev: fix signed overflow

5 years agolog: fix theoretical pointer alignment problem
Rémi Denis-Courmont [Wed, 20 Aug 2014 18:02:45 +0000 (21:02 +0300)]
log: fix theoretical pointer alignment problem

5 years agodbus: avoid invalid zero-size array
Rémi Denis-Courmont [Wed, 20 Aug 2014 17:58:16 +0000 (20:58 +0300)]
dbus: avoid invalid zero-size array

5 years agops: small cleanup, avoid copying unitialized value
Rémi Denis-Courmont [Wed, 20 Aug 2014 17:52:38 +0000 (20:52 +0300)]
ps: small cleanup, avoid copying unitialized value

5 years agovdr: clarify
Rémi Denis-Courmont [Wed, 20 Aug 2014 17:43:59 +0000 (20:43 +0300)]
vdr: clarify

5 years agohelp: remove large but unchecked fixed-size buffer
Rémi Denis-Courmont [Wed, 20 Aug 2014 17:32:05 +0000 (20:32 +0300)]
help: remove large but unchecked fixed-size buffer

5 years agohelp: print the boolean default once and on a separate line
Rémi Denis-Courmont [Wed, 20 Aug 2014 17:09:02 +0000 (20:09 +0300)]
help: print the boolean default once and on a separate line

This avoids wrapping in the middle of it and having a parenthesis after
a full point.

5 years agoalsa: put pcm device back into running state after snd_pcm_recover() returned.
Jean-Paul Saman [Wed, 20 Aug 2014 11:59:35 +0000 (13:59 +0200)]
alsa: put pcm device back into running state after snd_pcm_recover() returned.

After recovery the pcm device can be in prepared state. To continue capturing data
the device must be put into running state again, hence the call to snd_pcm_start().

5 years agoalsa: do not leak memory on failure to read frames from pcm device.
Jean-Paul Saman [Wed, 20 Aug 2014 11:55:42 +0000 (13:55 +0200)]
alsa: do not leak memory on failure to read frames from pcm device.

5 years agoDTV: verbose frontend status
Rafaël Carré [Wed, 20 Aug 2014 10:01:27 +0000 (12:01 +0200)]
DTV: verbose frontend status

5 years agoDTV: remove unused variable
Rafaël Carré [Wed, 20 Aug 2014 09:54:54 +0000 (11:54 +0200)]
DTV: remove unused variable

5 years agoVNC: fix typo
Jean-Baptiste Kempf [Tue, 19 Aug 2014 23:54:59 +0000 (01:54 +0200)]
VNC: fix typo

5 years agomux: ogg: fix typo
Tristan Matthews [Tue, 19 Aug 2014 23:45:54 +0000 (16:45 -0700)]
mux: ogg: fix typo

5 years agoadjust: stick to single precision
Rémi Denis-Courmont [Tue, 19 Aug 2014 19:16:42 +0000 (22:16 +0300)]
adjust: stick to single precision

The VLC object variables are stored in single precision anyway.

5 years agoQt4: update hue scale (fixes #11997)
Rémi Denis-Courmont [Tue, 19 Aug 2014 19:07:48 +0000 (22:07 +0300)]
Qt4: update hue scale (fixes #11997)

5 years agovdpau: switch hue to float
Rémi Denis-Courmont [Tue, 19 Aug 2014 18:56:01 +0000 (21:56 +0300)]
vdpau: switch hue to float

5 years agoadjust: convert hue from [0..360] integer to [-180..+180] float
Rémi Denis-Courmont [Tue, 19 Aug 2014 18:38:41 +0000 (21:38 +0300)]
adjust: convert hue from [0..360] integer to [-180..+180] float

5 years agolib: allow setting float variables as integers
Rémi Denis-Courmont [Tue, 19 Aug 2014 18:44:08 +0000 (21:44 +0300)]
lib: allow setting float variables as integers

Just convert to/from float on the fly. That enables backward compatibility
for setting/getting adjust hue as an interger (next commit).

5 years agoDTV: fix CAM init
Rafaël Carré [Tue, 19 Aug 2014 10:08:05 +0000 (12:08 +0200)]
DTV: fix CAM init

5 years agoQt: fix focus on GotoTime dismiss
Ancelot Mark Pinto [Sun, 17 Aug 2014 13:30:37 +0000 (19:00 +0530)]
Qt: fix focus on GotoTime dismiss

Close #7914
returns highlight focus to main window on Go/Cancel/[Esc] in GotoTime dialogue

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agocontrib: update aribb24 1.0.3
Naohiro KORIYAMA [Mon, 18 Aug 2014 15:43:48 +0000 (00:43 +0900)]
contrib: update aribb24 1.0.3

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
5 years agomacosx: compilation fix for earlier clang releases and runtime fix for 10.6
Felix Paul Kühne [Mon, 18 Aug 2014 20:54:16 +0000 (22:54 +0200)]
macosx: compilation fix for earlier clang releases and runtime fix for 10.6

5 years agoavcapture: fix compilation for older clang releases
Felix Paul Kühne [Mon, 18 Aug 2014 20:45:19 +0000 (22:45 +0200)]
avcapture: fix compilation for older clang releases

5 years agocontrib/gpg-error: fix compilation for embedded 64bit Darwin platforms
Felix Paul Kühne [Sun, 17 Aug 2014 20:15:39 +0000 (22:15 +0200)]
contrib/gpg-error: fix compilation for embedded 64bit Darwin platforms

5 years agocontrib/sparkle: use version 1.6.1 since this is the last to support OS X 10.6
Felix Paul Kühne [Mon, 18 Aug 2014 18:22:32 +0000 (20:22 +0200)]
contrib/sparkle: use version 1.6.1 since this is the last to support OS X 10.6

Additionally, patch the sources slightly to support Xcode 4.2

5 years agozvbi: dead code
Rémi Denis-Courmont [Mon, 18 Aug 2014 18:13:05 +0000 (21:13 +0300)]
zvbi: dead code

5 years agotheora: tautology
Rémi Denis-Courmont [Mon, 18 Aug 2014 18:10:08 +0000 (21:10 +0300)]
theora: tautology

5 years agospeek: fix potential NULL dereference
Rémi Denis-Courmont [Mon, 18 Aug 2014 18:06:04 +0000 (21:06 +0300)]
speek: fix potential NULL dereference

5 years agomtp: pass error from lseek()
Rémi Denis-Courmont [Mon, 18 Aug 2014 18:00:50 +0000 (21:00 +0300)]
mtp: pass error from lseek()

5 years agofile: pass error from lseek()
Rémi Denis-Courmont [Mon, 18 Aug 2014 17:58:57 +0000 (20:58 +0300)]
file: pass error from lseek()

5 years agobluray: fix ToCToU between stat() and realpath()
Rémi Denis-Courmont [Mon, 18 Aug 2014 17:56:41 +0000 (20:56 +0300)]
bluray: fix ToCToU between stat() and realpath()

5 years agobluray: fix error handling
Rémi Denis-Courmont [Mon, 18 Aug 2014 17:50:32 +0000 (20:50 +0300)]
bluray: fix error handling