Armin Novak
c51224e923
Fixed const warnings for codec decompress routines
2022-01-31 16:25:56 +01:00
Armin Novak
aa3f3ea95f
Fixed const warnings
2022-01-31 16:13:06 +01:00
Armin Novak
bc08ebc01c
Corrected const arguments for wStream functions
...
Functions only extracting values now use const for wStream argument
2022-01-31 16:13:06 +01:00
Armin Novak
6fc260b285
Fixed integer range warnings, added tests
2022-01-31 16:13:06 +01:00
Armin Novak
d4e557122b
Fixed constant definitions
...
Define signed values instead of raw values
2022-01-31 16:13:06 +01:00
Armin Novak
92c3fd5d59
Fixed unnecessary cast in headers
2022-01-31 16:13:06 +01:00
Armin Novak
0feee85952
Fixed cast warnings due to defines
2022-01-31 16:13:06 +01:00
Armin Novak
03e454d7d0
Fixed missing brace
2022-01-31 15:55:10 +01:00
Armin Novak
e7913b4720
Fixed some reserved names
2022-01-31 15:55:10 +01:00
Armin Novak
b9cfa10513
Fixed some more warnings
2022-01-31 15:55:10 +01:00
Armin Novak
c220367843
Replaced reserved name identifier
2022-01-31 15:55:10 +01:00
Armin Novak
2e17cee5a9
Fixed various warnings.
2022-01-31 15:55:10 +01:00
Felix Deimel
6bc3def9d1
Fixes https://github.com/FreeRDP/FreeRDP/issues/7408
2022-01-31 15:54:17 +01:00
Armin Novak
50d6f1457c
Fixed missing brace
2022-01-31 14:58:41 +01:00
Armin Novak
83d834a6ca
Static internal variables, added resolution limit explanation
2022-01-31 11:20:27 +01:00
eronnen
4c78b66822
always initializing MediaCodec with non-zero resolution, adjusting to codec output resolution
2022-01-31 11:20:27 +01:00
akallabeth
4a29b29a53
Fix #7586 : Update size of tile cache if required. ( #7602 )
2022-01-28 09:07:27 +01:00
akallabeth
db1ee0cae6
Update nAvgBytesPerSec in audin_winmm_set_format
...
The format channel count and alignment may have changed.
Update nAvgBytesPerSec accordingly
2022-01-27 15:57:03 +01:00
akallabeth
8560803211
Removed BITMAP_UPDATE::count use
2022-01-27 10:52:02 +01:00
dance
122268aec1
code cleanup: don't allocate excessive memory in update_read_bitmap_update
...
removed no more actually used count property of BITMAP_UPDATE struct,
fixed allocating twice as memory for its rectangles - as of refactoring
at e5767f07
BITMAP_UPDATE struct is reused no more
2022-01-27 10:52:02 +01:00
dance
cbc6b666ae
wayland: fixed memory corruption issue (write to free'd memory)
...
pass window and buffer index to buffer_release listener, so that it
fetches actual pointer to released buffer by wayland, instead of
directly passing a pointer to the UwacBuffer, which could result in
heap-use-after-free
2022-01-27 10:52:02 +01:00
akallabeth
4b416968c4
Added checks and asserts in rdpgfx_common
2022-01-27 10:33:30 +01:00
akallabeth
6f154da1ae
Added plausibility checks and assert to rdpgfx_read_header
2022-01-27 09:50:35 +01:00
zbstao
5b8db18f26
Added pduLength check in rdpgfx_read_header function
...
if pduLength is zero will lead to an infinite loop in rdpgfx_recv_pdu function.
2022-01-27 16:24:26 +08:00
Armin Novak
691ba447d2
Added better way to check for H264 support
...
* Added a function that actually tests, if H264 is working.
2022-01-26 12:22:41 +01:00
Armin Novak
6f3761b8bf
Fixed too eager assert.
2022-01-26 12:22:41 +01:00
Armin Novak
61e7f5796f
Added missing include
2022-01-26 10:24:26 +01:00
Armin Novak
4d29cb3700
Fixed statement expressions and missing goto
2022-01-26 10:24:26 +01:00
Armin Novak
d3ae4cf26d
Added code assertions, fixed loading order
2022-01-26 10:24:26 +01:00
Armin Novak
5f9338ad9a
Fixed WITH_MEDIACODEC definition
2022-01-26 10:24:26 +01:00
Ely Ronnen
633c1abf44
handling small input buffer case
2022-01-26 10:24:26 +01:00
Ely Ronnen
91540862df
import libmediandk.so dynamically
2022-01-26 10:24:26 +01:00
Ely Ronnen
52202762e8
adding mediacodec h264 implementation using NDK
2022-01-26 10:24:26 +01:00
akallabeth
b698041d9f
Fixed return value of GetUserNameExA
2022-01-25 15:33:04 +01:00
akallabeth
9570c349ac
Added missing CMake include
2022-01-25 15:33:04 +01:00
akallabeth
7dedfbb0b0
Added support for getpwuid_r, replaced duplicate code
...
* Use GetUserNameExA to get current user name when required.
* Add support for getpwuid_r if available
2022-01-25 15:33:04 +01:00
David Runge
d0488f8692
Guard avcodec_register_all() calls
...
{channels/tsmf/client/ffmpeg/tsmf,libfreerdp/codec/dsp}_ffmpeg.c:
Guard calls to `avcodec_register_all()` against use beyond
`AV_VERSION_INT(58, 10, 100)`, where upstream ffmpeg made it obsolete.
2022-01-25 08:52:29 +01:00
james
2d4850de66
Fix hotplug
2022-01-25 08:49:46 +01:00
akallabeth
f1e6c6b131
Fix #7570 : Limit mouse events to positive values
...
Wayland API might report mouse events slightly outside the window,
clamp the values to that negative coordinates are skipped.
2022-01-24 11:57:22 +01:00
akallabeth
6abd5f6c79
FFmpeg deprecated guards ( #7574 )
...
* Fixed missing ffmpeg deprecation guard
* Fixed compilation type warning
2022-01-24 09:49:07 +01:00
Marek Vasut
bda2421c57
cmdline: Always reinitialize NetworkAutoDetect
...
Always reinitialize NetworkAutoDetect, otherwise it might end set to
previous value and not the desired one. This happens when the client
sets /network:lan , in which case NetworkAutoDetect remains set to
TRUE because freerdp_set_connection_type() was previously called in
prepare_default_settings() and NetworkAutoDetect is never updated by
freerdp_set_connection_type() afterward.
Signed-off-by: Marek Vasut <marex@denx.de>
2022-01-23 10:47:29 +01:00
akallabeth
a337031b24
Cache Emulate_IsConfigured result ( #7569 )
...
* Cache Emulate_IsConfigured result
The check is used very often, so this caching reduces necessary
allocations.
* Fix winpr_HexLogDump
Abort function early if the log message is to be discarded due to
the log level being inactive.
* Use common logger for rdpdr message
Co-authored-by: Martin Fleisz <martin.fleisz@thincast.com>
2022-01-21 13:24:20 +01:00
Armin Novak
9c7ec3888a
Added deprecation to *get_fds functions
2022-01-21 08:59:09 +01:00
akallabeth
724c6f8192
Proxy cleanups ( #7568 )
...
* Fixed C++ issues with proxy context
* Added freerdp_settings_get_string_writable
* Define WITH_PROXY_EMULATE_SMARTCARD in config.h
2022-01-20 11:12:36 +01:00
David Fort
02535ea200
winpr: fix a crash when kerberos fails during negociation
2022-01-19 18:03:52 +01:00
David Fort
968416ce95
kerberos: fix encode/decode functions
2022-01-19 18:03:52 +01:00
David Fort
990b3cf7bb
smartcard_emulate: change the announced ATR ( #7564 )
...
This other ATR seems to be more recognized by new windows versions.
2022-01-19 12:00:53 +01:00
akallabeth
e6e6ed5dbd
Cleaned up PubSub
...
* Callback arguments now const
* Fixed missing includes
2022-01-19 09:24:57 +01:00
akallabeth
1326134cdf
Fixed warnings in BufferPool
2022-01-19 09:24:57 +01:00
akallabeth
1e3d3011a0
Added missing channel defines to config.h
2022-01-19 09:24:57 +01:00