aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtsp_client.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtsp_client: strncat -> g_strlcatJonathan Neuschäfer2012-02-151-7/+7
| | | | | | | | | The main difference is that strncat takes the maximum number of characters to copy as its third argument, while g_strlcat takes the size of the buffer, which is how the code was using strncat. Incomplete requests may still be constructed as a result of the reqest buffer filling up.
* don't define WINVER in *.c filesMax Kellermann2011-10-091-1/+0
| | | | | In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
* rtsp_client, output/raop: use close_socket() instead of close()Max Kellermann2011-09-201-1/+3
|
* output/raop: remove Audio-Jack-Status checkMax Kellermann2011-08-311-2/+6
| | | | | The value of this is not used, the code is commented out - let's get rid of it.
* rtsp_client: use the I/O threadMax Kellermann2011-08-311-55/+166
| | | | Make the code portable.
* rtsp_client: use g_usleep()Max Kellermann2011-08-311-3/+1
| | | | usleep() is not portable.
* rtsp_client: allow parameter "kd" to be NULLMax Kellermann2011-08-311-5/+15
| | | | When the caller isn't interested in the values.
* rtsp_client: free attribute "kd" in _close()Max Kellermann2011-08-311-0/+1
| | | | Fix yet another memory leak.
* rtsp_client: increment "dp" after terminating the stringMax Kellermann2011-08-301-2/+3
| | | | This fixes a bug that caused all values to be an empty string.
* rtsp_client: simplify whitespace eliminationMax Kellermann2011-08-301-4/+6
| | | | Just move a pointer, don't call strlen() in every iteration.
* rtsp_client: check "new_kd" instead of "i"Max Kellermann2011-08-301-4/+2
| | | | Eliminate the redundant local variable "i".
* rtsp_client: move "new_kd" out of the loopMax Kellermann2011-08-301-1/+1
| | | | This must persist iterations.
* output/raop: move RTSP client code to rtsp_client.cMax Kellermann2011-08-291-0/+606
Restore some of the original file structure from from raop_play.