projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ef278
)
libfreerdp-core: fix an trivial mistake in reading codec caps.
author
Vic Lee
<llyzs@163.com>
Tue, 4 Oct 2011 17:24:57 +0000
(
01:24
+0800)
committer
Vic Lee
<llyzs@163.com>
Tue, 4 Oct 2011 17:24:57 +0000
(
01:24
+0800)
libfreerdp-core/capabilities.c
patch
|
blob
|
history
diff --git
a/libfreerdp-core/capabilities.c
b/libfreerdp-core/capabilities.c
index
edef6d4
..
202b599
100644
(file)
--- a/
libfreerdp-core/capabilities.c
+++ b/
libfreerdp-core/capabilities.c
@@
-1381,7
+1381,7
@@
void rdp_read_bitmap_codecs_capability_set(STREAM* s, rdpSettings* settings)
stream_read_uint8(s, settings->rfx_codec_id);
settings->rfx_codec = True;
}
- if (settings->server_mode && strncmp((char*)stream_get_tail(s),CODEC_GUID_NSCODEC, 16) == 0)
+
else
if (settings->server_mode && strncmp((char*)stream_get_tail(s),CODEC_GUID_NSCODEC, 16) == 0)
{
stream_seek(s, 16); /*codec GUID (16 bytes) */
stream_read_uint8(s, settings->ns_codec_id);