1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-12 13:44:56 +02:00
Commit Graph

62111 Commits

Author SHA1 Message Date
Tristan Matthews
fc253a4ed7 access: dvdnav: add additional version checking
Fixes #15357
2015-09-01 07:11:25 -04:00
Rémi Denis-Courmont
65a987ec84 stream: remove unused value 2015-09-01 09:31:40 +03:00
Rémi Denis-Courmont
9a2dc82f76 stream: fix stream_Tell() after seek 2015-09-01 09:31:40 +03:00
Rémi Denis-Courmont
b1fa066415 file: file size field is only valid for regular files 2015-08-31 23:03:03 +03:00
Rémi Denis-Courmont
0dd144fceb file: remove write-only size 2015-08-31 23:03:00 +03:00
Rémi Denis-Courmont
d1ffc88181 smb: fix infinite loop on error 2015-08-31 22:52:49 +03:00
Rémi Denis-Courmont
8ede154782 sftp: implement Read() rather than Block(), simplify 2015-08-31 22:51:44 +03:00
Rémi Denis-Courmont
9e842af879 stream: remove STREAM_GET_POSITION control 2015-08-31 22:34:21 +03:00
Rémi Denis-Courmont
a4ca21be75 stream_demux: remove STREAM_SET_POSITION
stream_demux cannot seek. This code path should never be used.

Note: to skip data explicitly, a demuxer is supposed to call
stream_Read() with a NULL buffer address.
2015-08-31 22:31:31 +03:00
Rémi Denis-Courmont
48786ae56d stream: provide a common implementation of stream_Tell() 2015-08-31 22:19:32 +03:00
Rémi Denis-Courmont
79b36fbb5b stream: move Doxygen for steam_Read() and stream_Peek() 2015-08-31 22:17:35 +03:00
Rémi Denis-Courmont
b85d67cb7f stream: warn on stream_Read() and stream_Peek() unused result
Both functions can always fail. Even if the stream size is known,
and larger than the requested bytes, reading can fail due to lower
level errors. stream_Peek() can also fail to allocate memory.

Not checking the return value is a bug.
2015-08-31 22:08:26 +03:00
Kazuki Yamaguchi
5bf000648f vcd: fix double free
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2015-08-31 21:45:37 +03:00
Tristan Matthews
7d54a3ab14 video_filter: sepia: cosmetics 2015-08-31 14:10:39 -04:00
Tristan Matthews
7da9dd57bd video_filter: adjust: use C99 loop declarations 2015-08-31 14:10:39 -04:00
Tristan Matthews
31a9797f31 video_filter: ball: use C99 loop declarations 2015-08-31 14:10:39 -04:00
Tristan Matthews
6213da1114 video_filter: bluescreen: use C99 loop declarations 2015-08-31 14:10:39 -04:00
Tristan Matthews
6cd147c9f8 video_filter: cropadd: use C99 loop declarations 2015-08-31 14:10:39 -04:00
Tristan Matthews
3e7744705b video_filter: erase: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
5009e5bff0 video_filter: extract: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
5d29b6c560 video_filter: gaussianblur: cosmetics 2015-08-31 14:10:38 -04:00
Tristan Matthews
bdb003f96e video_filter: gaussianblur: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
57df39147d video_filter: gradfun: use C99 declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
95390bacca video_filter: gradient: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
7cea41c24f video_filter: hqdn3d: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
e959f0bfb7 video_filter: invert: simplify 2015-08-31 14:10:38 -04:00
Tristan Matthews
32e4a96f65 video_filter: invert: use C99 loop declaration 2015-08-31 14:10:38 -04:00
Tristan Matthews
9f6b9ed65a video_filter: logo: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
4aee123f29 video_filter: magnify: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
e6d066c602 video_filter: mosaic: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
be89cdf1d4 video_filter: motionblur: use C99 loop declaration 2015-08-31 14:10:38 -04:00
Tristan Matthews
3181fcc5ea video_filter: motiondetect: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
caa0d1e700 video_filter: opencv_example: use C++ loop declaration 2015-08-31 14:10:38 -04:00
Tristan Matthews
83d5b02f47 video_filter: psychedelic: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
f7310e0e2d video_filter: remoteosd: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
0171aa7b90 video_filter: ripple: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
55ccb4167b video_filter: rotate: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
c964a32082 video_filter: scale: use C99 loop declaration 2015-08-31 14:10:38 -04:00
Tristan Matthews
5b93bcaa71 video_filter: subsdelay: use C99 loop declarations 2015-08-31 14:10:38 -04:00
Tristan Matthews
52d130573e video_filter: wave: use C99 loop declarations 2015-08-31 14:10:37 -04:00
Rémi Denis-Courmont
707f216964 update: fix integer overflow with signature file size 2015-08-31 21:10:13 +03:00
Rémi Denis-Courmont
145b05739d update: avoid division by zero
If the downloaded file is empty or of unknown size.
2015-08-31 20:11:52 +03:00
Rémi Denis-Courmont
afceeaf90e update: correct check for update file size 2015-08-31 20:11:40 +03:00
Rémi Denis-Courmont
0bdd0e63db image: fix error cases 2015-08-31 19:59:44 +03:00
Rémi Denis-Courmont
b4b8a82639 stream: fix integer overflow with stream_Block() 2015-08-31 19:59:44 +03:00
Rémi Denis-Courmont
d3b3ce68d2 vlm: simplify and fix abnormal cases
Correctly reject non-regular files: previously, the code would get
stuck on FIFOs, and ignore other types silently.

Check that reading the file actually succeeds.
2015-08-31 19:50:12 +03:00
Rémi Denis-Courmont
5dc2d7fce8 block: include left and right padding when memory mapping
This avoids reallocating and copying the block in block_Realloc() in
some cases.
2015-08-31 19:30:59 +03:00
Rémi Denis-Courmont
af8f9bb6f5 au: fix integer overflow
Header size can reach UINT32_MAX.
2015-08-31 19:02:58 +03:00
Rémi Denis-Courmont
db7e4c7780 stream: add stream_GetSize() helper
Unlike stream_Size(), this helper distinguishes between unknown and
zero sizes.
2015-08-31 18:57:17 +03:00
Rémi Denis-Courmont
65ae8f1590 smb: directories have no size 2015-08-31 18:43:42 +03:00