CVS: rdesktop rdpsnd.c,1.41,1.42
Pierre Ossman <[email protected]> Fri, 18 Jan 2008 07:12:00 -0800
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3131
Modified Files:
rdpsnd.c
Log Message:
Check that the sound backend supports wave_in_format_supported before
calling it.
Index: rdpsnd.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** rdpsnd.c 18 Jun 2007 08:31:27 -0000 1.41
--- rdpsnd.c 18 Jan 2008 15:11:57 -0000 1.42
***************
*** 377,381 ****
in_uint8s(in, discardcnt);
! if (current_driver && current_driver->wave_in_format_supported(format))
{
rec_format_count++;
--- 377,382 ----
in_uint8s(in, discardcnt);
! if (current_driver && current_driver->wave_in_format_supported
! && current_driver->wave_in_format_supported(format))
{
rec_format_count++;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/