/[rdesktop]/sourceforge.net/rdesktop/trunk/rdpsnd.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/rdesktop/trunk/rdpsnd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 492 by stargo, Tue Oct 14 07:46:49 2003 UTC revision 493 by stargo, Tue Oct 14 07:53:10 2003 UTC
# Line 79  rdpsnd_process_negotiate(STREAM in) Line 79  rdpsnd_process_negotiate(STREAM in)
79          WAVEFORMATEX *format;          WAVEFORMATEX *format;
80          STREAM out;          STREAM out;
81          BOOL device_available = False;          BOOL device_available = False;
82            int readcnt;
83            int discardcnt;
84    
85          in_uint8s(in, 14);      /* flags, volume, pitch, UDP port */          in_uint8s(in, 14);      /* flags, volume, pitch, UDP port */
86          in_uint16_le(in, in_format_count);          in_uint16_le(in, in_format_count);
# Line 105  rdpsnd_process_negotiate(STREAM in) Line 107  rdpsnd_process_negotiate(STREAM in)
107                          in_uint16_le(in, format->cbSize);                          in_uint16_le(in, format->cbSize);
108    
109                          /* read in the buffer of unknown use */                          /* read in the buffer of unknown use */
110                          int readcnt = format->cbSize;                          readcnt = format->cbSize;
111                          int discardcnt = 0;                          discardcnt = 0;
112                          if (format->cbSize > MAX_CBSIZE)                          if (format->cbSize > MAX_CBSIZE)
113                          {                          {
114                                  fprintf(stderr, "cbSize too large for buffer: %d\n", format->cbSize);                                  fprintf(stderr, "cbSize too large for buffer: %d\n", format->cbSize);

Legend:
Removed from v.492  
changed lines
  Added in v.493

  ViewVC Help
Powered by ViewVC 1.1.26