]> git.sesse.net Git - vlc/log
vlc
9 years agotwolame: fix chain deallocation
Tristan Matthews [Tue, 30 Sep 2014 11:45:40 +0000 (07:45 -0400)]
twolame: fix chain deallocation

9 years agoflac: reset decoder on end of stream (fixes #9298)
Tristan Matthews [Tue, 30 Sep 2014 01:05:23 +0000 (21:05 -0400)]
flac: reset decoder on end of stream (fixes #9298)

9 years agotwolame: avoid buffer overflow
Tristan Matthews [Sat, 27 Sep 2014 19:07:51 +0000 (15:07 -0400)]
twolame: avoid buffer overflow

Refs #12298

9 years agotwolame: add error checking
Tristan Matthews [Sat, 27 Sep 2014 17:47:06 +0000 (13:47 -0400)]
twolame: add error checking

9 years agoen50221: avoid one memory copy (refs #12307)
Rémi Denis-Courmont [Mon, 29 Sep 2014 18:59:47 +0000 (21:59 +0300)]
en50221: avoid one memory copy (refs #12307)

9 years agoinput: stream_memory: handle skip reads
Francois Cartegnie [Mon, 29 Sep 2014 18:06:05 +0000 (20:06 +0200)]
input: stream_memory: handle skip reads

Regular streams skip if p_read is NULL.

9 years agodemux: mp4: set pointer to relase function into box
Francois Cartegnie [Mon, 29 Sep 2014 16:31:44 +0000 (18:31 +0200)]
demux: mp4: set pointer to relase function into box

Possible could crash because release function was
not correctly matched du to missing parent id check.

Better save it into box instead of doing another lookup,
and because box could have been detached from parent.

9 years agodemux: mp4: fix naming of objectProfileIndication
Francois Cartegnie [Mon, 29 Sep 2014 13:35:55 +0000 (15:35 +0200)]
demux: mp4: fix naming of objectProfileIndication

9 years agodemux: libmp4: add mp4a/mp4v esds restrictions
Francois Cartegnie [Mon, 29 Sep 2014 13:37:08 +0000 (15:37 +0200)]
demux: libmp4: add mp4a/mp4v esds restrictions

9 years agodemux: mp4: add restriction for frma atom
Francois Cartegnie [Sat, 27 Sep 2014 17:33:37 +0000 (19:33 +0200)]
demux: mp4: add restriction for frma atom

9 years agodemux: mkv: move mp4 include off top level
Francois Cartegnie [Sat, 27 Sep 2014 17:16:17 +0000 (19:16 +0200)]
demux: mkv: move mp4 include off top level

9 years agolua: add libdir to lua dir list on OS/2
KO Myung-Hun [Sat, 27 Sep 2014 09:04:57 +0000 (09:04 +0000)]
lua: add libdir to lua dir list on OS/2

Installed version cannot find lua scripts.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agomp4: fix typos in sizeof guards
Boris Egorov [Sun, 21 Sep 2014 14:33:54 +0000 (14:33 +0000)]
mp4: fix typos in sizeof guards

Detected by CppCheck

Signed-off-by: Boris Egorov <egorov@linux.com>
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agowl_screenshooter: remove useless #include
Rémi Denis-Courmont [Sun, 28 Sep 2014 09:30:51 +0000 (12:30 +0300)]
wl_screenshooter: remove useless #include

9 years agotheora: cleanup
Tristan Matthews [Sat, 27 Sep 2014 16:45:56 +0000 (12:45 -0400)]
theora: cleanup

Remove dead code and superfluous width/height variables.

9 years agodemux: mp4: fix heap read overflow in vide handler
Francois Cartegnie [Sat, 27 Sep 2014 16:31:35 +0000 (18:31 +0200)]
demux: mp4: fix heap read overflow in vide handler

9 years agodemux: mp4: fix heap overflow reading esds
Francois Cartegnie [Sat, 27 Sep 2014 16:29:13 +0000 (18:29 +0200)]
demux: mp4: fix heap overflow reading esds

9 years agodemux: mp4: fix overflow in cprt language decoding
Francois Cartegnie [Sat, 27 Sep 2014 16:26:18 +0000 (18:26 +0200)]
demux: mp4: fix overflow in cprt language decoding

refs #12283

9 years agodemux: mkv: fix previous type fix
Francois Cartegnie [Sat, 27 Sep 2014 16:12:55 +0000 (18:12 +0200)]
demux: mkv: fix previous type fix

first segment is always 0, not an undefined value
regression introduced by aaebd49a151fae2fd86242dadd3e6e93cbb41e3b
instead of removing the tautology

9 years agodemux: mp4: add boxdata and missing checks
Francois Cartegnie [Sat, 27 Sep 2014 15:57:53 +0000 (17:57 +0200)]
demux: mp4: add boxdata and missing checks

9 years agodemux: mp4: don't trust atom type processing stsd (fix #12285)
Francois Cartegnie [Sat, 27 Sep 2014 15:43:33 +0000 (17:43 +0200)]
demux: mp4: don't trust atom type processing stsd (fix #12285)

9 years agowl_screenshooter: Wayland screen grabber
Rémi Denis-Courmont [Sat, 27 Sep 2014 15:53:15 +0000 (18:53 +0300)]
wl_screenshooter: Wayland screen grabber

9 years agoBuild system support for wayland-scanner
Rémi Denis-Courmont [Sat, 27 Sep 2014 08:45:07 +0000 (11:45 +0300)]
Build system support for wayland-scanner

9 years agodaala: encoder: add support for 444
Tristan Matthews [Fri, 26 Sep 2014 13:51:00 +0000 (09:51 -0400)]
daala: encoder: add support for 444

9 years agolua: add missing documentation for scopes
Francois Cartegnie [Fri, 26 Sep 2014 21:04:14 +0000 (23:04 +0200)]
lua: add missing documentation for scopes

9 years agomux: mp4frag: add tfdt atom
Francois Cartegnie [Fri, 26 Sep 2014 20:26:22 +0000 (22:26 +0200)]
mux: mp4frag: add tfdt atom

9 years agodemux: mkv: fix type and c++ type cast
Francois Cartegnie [Fri, 26 Sep 2014 17:55:33 +0000 (19:55 +0200)]
demux: mkv: fix type and c++ type cast

kills that signed / unsigned comparison warning

9 years agodemux: mp4: change reserved to known value
Francois Cartegnie [Fri, 26 Sep 2014 17:33:18 +0000 (19:33 +0200)]
demux: mp4: change reserved to known value

9 years agodemux: mp4: use new lang tables
Francois Cartegnie [Fri, 26 Sep 2014 17:27:50 +0000 (19:27 +0200)]
demux: mp4: use new lang tables

The "```" case could also never happen as this is the
decoding of value 0 which should map to mac.

9 years agodemux: mp4: add new language conversion tables
Francois Cartegnie [Fri, 26 Sep 2014 13:57:27 +0000 (15:57 +0200)]
demux: mp4: add new language conversion tables

9 years agodemux: mp4: fix heap overflow (fix #12283)
Francois Cartegnie [Fri, 26 Sep 2014 13:56:25 +0000 (15:56 +0200)]
demux: mp4: fix heap overflow (fix #12283)

9 years agodaala: encoder: fix stride
Tristan Matthews [Fri, 26 Sep 2014 11:48:04 +0000 (07:48 -0400)]
daala: encoder: fix stride

9 years agodemux: mp4: escape introduced trigraph sequence
Francois Cartegnie [Thu, 25 Sep 2014 21:53:42 +0000 (23:53 +0200)]
demux: mp4: escape introduced trigraph sequence

9 years agortp: improve S16L to L16 packetization
Rémi Denis-Courmont [Thu, 25 Sep 2014 19:30:49 +0000 (22:30 +0300)]
rtp: improve S16L to L16 packetization

9 years agortp: improve PCM packetization (fixes #6505) and try zero copy
Rémi Denis-Courmont [Thu, 25 Sep 2014 18:47:38 +0000 (21:47 +0300)]
rtp: improve PCM packetization (fixes #6505) and try zero copy

rtp_packetize_split() sets the marker bit according to video semantics,
and uses incorrect timestamp interpolation for PCM.

9 years agortp: set the marker bit correctly for Opus
Rémi Denis-Courmont [Thu, 25 Sep 2014 18:27:21 +0000 (21:27 +0300)]
rtp: set the marker bit correctly for Opus

9 years agortp: fix Opus packetization and use zero copy
Rémi Denis-Courmont [Thu, 25 Sep 2014 18:25:12 +0000 (21:25 +0300)]
rtp: fix Opus packetization and use zero copy

Opus cannot be fragmented, there must be one frame per RTP packet.

9 years agortp: remove mutually cancelling writes to block_t.i_buffer
Rémi Denis-Courmont [Thu, 25 Sep 2014 19:15:01 +0000 (22:15 +0300)]
rtp: remove mutually cancelling writes to block_t.i_buffer

rtp_packetize_common() overrode the correct value with 12, which was
then reset to the correct value.

Note: the AMR packetizer seems odd.

9 years agortp: hand-over the data block reference to the packetization function
Rémi Denis-Courmont [Thu, 25 Sep 2014 18:50:56 +0000 (21:50 +0300)]
rtp: hand-over the data block reference to the packetization function

9 years agoAdd audio/ogg and video/ogg to vlc.desktop.in
Jean-Baptiste Kempf [Thu, 25 Sep 2014 11:55:24 +0000 (13:55 +0200)]
Add audio/ogg and video/ogg to vlc.desktop.in

Close #12282
Ref: Debian BTS #762564

9 years agodemux: mp4: improve eof error
Francois Cartegnie [Wed, 24 Sep 2014 21:39:04 +0000 (23:39 +0200)]
demux: mp4: improve eof error

9 years agodemux: mp4: add missing box entries
Francois Cartegnie [Wed, 24 Sep 2014 20:49:03 +0000 (22:49 +0200)]
demux: mp4: add missing box entries

9 years agosimple: fix x.1 inputs
Rémi Denis-Courmont [Wed, 24 Sep 2014 20:47:51 +0000 (23:47 +0300)]
simple: fix x.1 inputs

9 years agoupdate NEWS
Francois Cartegnie [Wed, 24 Sep 2014 20:34:55 +0000 (22:34 +0200)]
update NEWS

9 years agodemux: mp4: add missing foov entries
Francois Cartegnie [Wed, 24 Sep 2014 20:33:26 +0000 (22:33 +0200)]
demux: mp4: add missing foov entries

9 years agodemux: mp4: split debug info
Francois Cartegnie [Wed, 24 Sep 2014 20:30:18 +0000 (22:30 +0200)]
demux: mp4: split debug info

9 years agodemux: mp4: flag incomplete boxes
Francois Cartegnie [Wed, 24 Sep 2014 20:25:16 +0000 (22:25 +0200)]
demux: mp4: flag incomplete boxes

9 years agodemux: check stream_Read() (probably fixes #12276)
Rémi Denis-Courmont [Wed, 24 Sep 2014 18:52:16 +0000 (21:52 +0300)]
demux: check stream_Read() (probably fixes #12276)

stream_Read() can always fail.

9 years agodemux: mp4: add support for EIA-608 (fix #6775)
Francois Cartegnie [Wed, 24 Sep 2014 17:30:51 +0000 (19:30 +0200)]
demux: mp4: add support for EIA-608 (fix #6775)

9 years agofourcc: add EIA608
Francois Cartegnie [Wed, 24 Sep 2014 14:03:05 +0000 (16:03 +0200)]
fourcc: add EIA608

9 years agodemux: mp4: factorize block reading/filtering
Francois Cartegnie [Wed, 24 Sep 2014 14:42:31 +0000 (16:42 +0200)]
demux: mp4: factorize block reading/filtering

9 years agodemux: mp4: don't read at all if not content
Francois Cartegnie [Wed, 24 Sep 2014 11:32:37 +0000 (13:32 +0200)]
demux: mp4: don't read at all if not content

fixes 1 byte read overflow

9 years agodemux: ogg: fix packet count heap overflow (fix #12265)
Francois Cartegnie [Wed, 24 Sep 2014 10:58:04 +0000 (12:58 +0200)]
demux: ogg: fix packet count heap overflow (fix #12265)

9 years agodemux: mp4: fix heap read overflow in avcc (fix #12267)
Francois Cartegnie [Mon, 22 Sep 2014 19:10:43 +0000 (21:10 +0200)]
demux: mp4: fix heap read overflow in avcc (fix #12267)

9 years agodemux: ogg: fix headers validation
Francois Cartegnie [Tue, 23 Sep 2014 13:27:34 +0000 (15:27 +0200)]
demux: ogg: fix headers validation

refs #12270

9 years agodemux: ogg: don't use incomplete vorbis headers (fix #12270)
Francois Cartegnie [Tue, 23 Sep 2014 12:58:29 +0000 (14:58 +0200)]
demux: ogg: don't use incomplete vorbis headers (fix #12270)

9 years agodemux: ogg: Don't read skeleton if no bones first
Francois Cartegnie [Tue, 23 Sep 2014 10:49:06 +0000 (12:49 +0200)]
demux: ogg: Don't read skeleton if no bones first

9 years agohttpcookies: fix memleak
Rafaël Carré [Tue, 23 Sep 2014 11:33:01 +0000 (13:33 +0200)]
httpcookies: fix memleak

9 years agoAllow --sub-track to work with EIA-608 captions, and fix crash on exit
Devin Heitmueller [Sun, 21 Sep 2014 16:54:54 +0000 (12:54 -0400)]
Allow --sub-track to work with EIA-608 captions, and fix crash on exit

Prior to this patch, if the user specified the --sub-track argument on
the command line, it would not work with MPEG2 streams that contain
EIA-608 closed captions.  It would also cause an abort() on exit.

The crash was because the various functions that select/unselect
streams would check for the p_master member, which isn't set until
after EsOutAdd().  The call to EsOutAdd itself though would call
EsSelect(), which would treat the ES as a regular subtitle stream
and cause a resource leak -- which would cause an abort at exit.

The other change actually makes --sub-track work with the special
case of EIA-608 captions.

Signed-off-by: Rafaël Carré <funman@videolan.org>
9 years agodemux: mp4: fix heap buffer overflow (fix #12266)
Francois Cartegnie [Mon, 22 Sep 2014 19:17:40 +0000 (21:17 +0200)]
demux: mp4: fix heap buffer overflow (fix #12266)

9 years agoinput: Tag attachments with the demuxer that produced them
Timothy B. Terriberry [Sat, 20 Sep 2014 17:16:33 +0000 (10:16 -0700)]
input: Tag attachments with the demuxer that produced them

This way, when metadata is updated, we only replace the attachments
produced by the demuxer whose metadata changed.

Fixes #11976

Tested by reverting the patch in #11966 (with some fix-ups to pass the
right arguments where the code had changed).

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agoFix memory leak when using subtitles with VDPAU
Devin Heitmueller [Sun, 21 Sep 2014 16:54:55 +0000 (12:54 -0400)]
Fix memory leak when using subtitles with VDPAU

When rendering closed captions with VDPAU, nothing frees the subpicture,
causing a leak that bleeds all the memory out of the system within
minutes.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
9 years agodemux: avi:fix block reading
Francois Cartegnie [Thu, 18 Sep 2014 21:25:23 +0000 (23:25 +0200)]
demux: avi:fix block reading

9 years agodemux: avi: simplify dpts code
Francois Cartegnie [Thu, 18 Sep 2014 13:17:55 +0000 (15:17 +0200)]
demux: avi: simplify dpts code

9 years agopacketizer: dirac: block sanitizing must clean reordering (fix #12051)
Francois Cartegnie [Mon, 22 Sep 2014 18:12:18 +0000 (20:12 +0200)]
packetizer: dirac: block sanitizing must clean reordering (fix #12051)

9 years agordp: drop bogus non-zero priority
Rémi Denis-Courmont [Mon, 22 Sep 2014 18:16:22 +0000 (21:16 +0300)]
rdp: drop bogus non-zero priority

This plugin does not access local files.

9 years agoNEWS: update for daala
Tristan Matthews [Mon, 22 Sep 2014 10:51:17 +0000 (11:51 +0100)]
NEWS: update for daala

9 years agoExtras/tools: ship ragel-6.8-javacodegen.patch in the tarball.
Konstantin Pavlov [Sun, 21 Sep 2014 16:38:17 +0000 (20:38 +0400)]
Extras/tools: ship ragel-6.8-javacodegen.patch in the tarball.

9 years agocontrib: add (disabled) rules.mak for daala
Tristan Matthews [Sun, 21 Sep 2014 14:25:15 +0000 (15:25 +0100)]
contrib: add (disabled) rules.mak for daala

9 years agomux: ogg: add daala support
Tristan Matthews [Fri, 19 Sep 2014 02:10:10 +0000 (22:10 -0400)]
mux: ogg: add daala support

9 years agodaala: add encoder
Tristan Matthews [Sun, 21 Sep 2014 09:35:06 +0000 (05:35 -0400)]
daala: add encoder

9 years agolivehttp: don't open new file if current file hasn't been written to
Ilkka Ollakka [Sun, 21 Sep 2014 10:35:55 +0000 (11:35 +0100)]
livehttp: don't open new file if current file hasn't been written to

9 years agolivehttp: gather blocks so we can write more at the time
Ilkka Ollakka [Sat, 20 Sep 2014 17:24:40 +0000 (18:24 +0100)]
livehttp: gather blocks so we can write more at the time

Otherwise we would loop and write() ts-packet at a time.

9 years agomacosx: update SPMediaKeyTap
Felix Paul Kühne [Sun, 21 Sep 2014 13:23:28 +0000 (14:23 +0100)]
macosx: update SPMediaKeyTap

9 years agocanvas: only add croppadd if it's actually used
Ilkka Ollakka [Sun, 21 Sep 2014 10:36:45 +0000 (11:36 +0100)]
canvas: only add croppadd if it's actually used

9 years agouse CLOCK_FREQ
Ilkka Ollakka [Fri, 21 Mar 2014 09:12:34 +0000 (11:12 +0200)]
use CLOCK_FREQ

9 years agoconfig: fix shadowing
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:14:43 +0000 (18:14 +0300)]
config: fix shadowing

9 years agopicture_fifo: avoid shadow variable
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:11:13 +0000 (18:11 +0300)]
picture_fifo: avoid shadow variable

9 years agonetwork: remove no-op continue
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:09:41 +0000 (18:09 +0300)]
network: remove no-op continue

9 years agonetwork: remove shadow variable
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:09:20 +0000 (18:09 +0300)]
network: remove shadow variable

9 years agolib: unused variable
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:07:46 +0000 (18:07 +0300)]
lib: unused variable

9 years agolib: fix shadowing and wrong variable type
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:07:02 +0000 (18:07 +0300)]
lib: fix shadowing and wrong variable type

asprintf() returns an int, not a char *.

9 years agovideo_output: avoid variable shadowing
Rémi Denis-Courmont [Thu, 18 Sep 2014 15:06:11 +0000 (18:06 +0300)]
video_output: avoid variable shadowing

9 years agoNEWS: update for Opus in TS
Tristan Matthews [Sat, 20 Sep 2014 17:12:55 +0000 (13:12 -0400)]
NEWS: update for Opus in TS

9 years agoOpus in Transport Stream
Rafaël Carré [Fri, 27 Jun 2014 09:00:31 +0000 (11:00 +0200)]
Opus in Transport Stream

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
9 years agoFix PES muxing
Rafaël Carré [Sat, 20 Sep 2014 16:53:46 +0000 (17:53 +0100)]
Fix PES muxing

9 years agofix ee961d8fa4e9f2f6909b3d77269bc0de562649d9
Carola Nitz [Sat, 20 Sep 2014 10:24:22 +0000 (11:24 +0100)]
fix ee961d8fa4e9f2f6909b3d77269bc0de562649d9

Signed-off-by: Rafaël Carré <funman@videolan.org>
9 years agoconfigure: enable init-self and logical-op warnings
Rémi Denis-Courmont [Wed, 17 Sep 2014 21:12:30 +0000 (00:12 +0300)]
configure: enable init-self and logical-op warnings

9 years agodemux: avi: use vlc_ts_0
Francois Cartegnie [Tue, 16 Sep 2014 17:23:18 +0000 (19:23 +0200)]
demux: avi: use vlc_ts_0

9 years agodemux: avi: use clock_freq
Francois Cartegnie [Tue, 16 Sep 2014 17:25:51 +0000 (19:25 +0200)]
demux: avi: use clock_freq

9 years agodemux: avi: define READ_LENGTH
Francois Cartegnie [Wed, 17 Sep 2014 18:41:37 +0000 (20:41 +0200)]
demux: avi: define READ_LENGTH

9 years agoContribs: fix compilation for Android
Jean-Baptiste Kempf [Wed, 17 Sep 2014 13:25:36 +0000 (15:25 +0200)]
Contribs: fix compilation for Android

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agozip: remove unneeded include
Jean-Baptiste Kempf [Wed, 17 Sep 2014 06:53:51 +0000 (08:53 +0200)]
zip: remove unneeded include

9 years agoPrevent potential null pointer dereference in zip access
Gabriel de Perthuis [Mon, 15 Sep 2014 10:35:46 +0000 (12:35 +0200)]
Prevent potential null pointer dereference in zip access

Close #12149

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agoContribs: update gettext to 0.19.2
Jean-Baptiste Kempf [Wed, 17 Sep 2014 06:47:54 +0000 (08:47 +0200)]
Contribs: update gettext to 0.19.2

9 years agoContribs: update libbluray to 0.6.2
Jean-Baptiste Kempf [Wed, 17 Sep 2014 06:34:58 +0000 (08:34 +0200)]
Contribs: update libbluray to 0.6.2

9 years agoContribs: update gpg-error to 1.15
Jean-Baptiste Kempf [Wed, 17 Sep 2014 06:28:41 +0000 (08:28 +0200)]
Contribs: update gpg-error to 1.15

9 years agozvbi: return actual last visible row
Hannes Domani [Mon, 15 Sep 2014 14:50:36 +0000 (16:50 +0200)]
zvbi: return actual last visible row

Currently in most cases the row after the last is returned.
When the last row is visible vbi_draw_vt_page_region() could
crash, because it went over the size of p_page.text and use
invalid values (>=40) as index for p_page.color_map.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
9 years agodoc: grammar
Rémi Denis-Courmont [Tue, 16 Sep 2014 21:46:18 +0000 (00:46 +0300)]
doc: grammar

9 years agoaccess/http: Share cookies between all playlist items
Antti Ajanki [Tue, 16 Sep 2014 18:24:41 +0000 (21:24 +0300)]
access/http: Share cookies between all playlist items

Shared cookies are required, for example, by certain HDS and HLS streams
that set a cookie when the manifest is read and expect it to be sent
back on subsequent fragment requests.

The cookie jar is created during playlist initialization. HTTP requests
inherit the cookie jar from the playlist.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>