aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtsp_client.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-02-15rtsp_client: strncat -> g_strlcatJonathan Neuschäfer1-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.
2011-10-09don't define WINVER in *.c filesMax Kellermann1-1/+0
In a C file, that is too late, because _mingw.h defaults to 0x0502, and ours would be illegal redefintion.
2011-09-20rtsp_client, output/raop: use close_socket() instead of close()Max Kellermann1-1/+3
2011-08-31output/raop: remove Audio-Jack-Status checkMax Kellermann1-2/+6
The value of this is not used, the code is commented out - let's get rid of it.
2011-08-31rtsp_client: use the I/O threadMax Kellermann1-55/+166
Make the code portable.
2011-08-31rtsp_client: use g_usleep()Max Kellermann1-3/+1
usleep() is not portable.
2011-08-31rtsp_client: allow parameter "kd" to be NULLMax Kellermann1-5/+15
When the caller isn't interested in the values.
2011-08-31rtsp_client: free attribute "kd" in _close()Max Kellermann1-0/+1
Fix yet another memory leak.
2011-08-30rtsp_client: increment "dp" after terminating the stringMax Kellermann1-2/+3
This fixes a bug that caused all values to be an empty string.
2011-08-30rtsp_client: simplify whitespace eliminationMax Kellermann1-4/+6
Just move a pointer, don't call strlen() in every iteration.
2011-08-30rtsp_client: check "new_kd" instead of "i"Max Kellermann1-4/+2
Eliminate the redundant local variable "i".
2011-08-30rtsp_client: move "new_kd" out of the loopMax Kellermann1-1/+1
This must persist iterations.
2011-08-29output/raop: move RTSP client code to rtsp_client.cMax Kellermann1-0/+606
Restore some of the original file structure from from raop_play.