# HG changeset patch # User mstorsjo # Date 1266923136 0 # Node ID 982edb9135cae9ea5c775126d05e17347713aa83 # Parent 2ace2ee849296e041a919cf54ed8d31274f43d29 Cosmetics: reindent diff -r 2ace2ee84929 -r 982edb9135ca rtsp.c --- a/rtsp.c Tue Feb 23 11:01:51 2010 +0000 +++ b/rtsp.c Tue Feb 23 11:05:36 2010 +0000 @@ -251,7 +251,7 @@ * is broken out as a function because it is used in rtp_h264.c, which is * forthcoming. */ int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, - char *value, int value_size) + char *value, int value_size) { skip_spaces(p); if (**p) { @@ -280,7 +280,7 @@ /* loop on each attribute */ while (ff_rtsp_next_attr_and_value(&p, attr, sizeof(attr), - value, sizeof(value))) { + value, sizeof(value))) { /* grab the codec extra_data from the config parameter of the fmtp * line */ sdp_parse_fmtp_config(codec, rtsp_st->dynamic_protocol_context, @@ -882,8 +882,8 @@ } int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, - unsigned char **content_ptr, - int return_on_interleaved_data) + unsigned char **content_ptr, + int return_on_interleaved_data) { RTSPState *rt = s->priv_data; char buf[4096], buf1[1024], *q; @@ -969,9 +969,9 @@ } void ff_rtsp_send_cmd_with_content_async(AVFormatContext *s, - const char *cmd, - const unsigned char *send_content, - int send_content_length) + const char *cmd, + const unsigned char *send_content, + int send_content_length) { RTSPState *rt = s->priv_data; char buf[4096], buf1[1024]; @@ -1006,8 +1006,8 @@ } void ff_rtsp_send_cmd(AVFormatContext *s, - const char *cmd, RTSPMessageHeader *reply, - unsigned char **content_ptr) + const char *cmd, RTSPMessageHeader *reply, + unsigned char **content_ptr) { ff_rtsp_send_cmd_async(s, cmd); diff -r 2ace2ee84929 -r 982edb9135ca rtsp.h --- a/rtsp.h Tue Feb 23 11:01:51 2010 +0000 +++ b/rtsp.h Tue Feb 23 11:05:36 2010 +0000 @@ -333,9 +333,9 @@ * send_content is null */ void ff_rtsp_send_cmd_with_content_async(AVFormatContext *s, - const char *cmd, - const unsigned char *send_content, - int send_content_length); + const char *cmd, + const unsigned char *send_content, + int send_content_length); /** * Send a command to the RTSP server without waiting for the reply. * @@ -356,11 +356,11 @@ * send_content is null */ void ff_rtsp_send_cmd_with_content(AVFormatContext *s, - const char *cmd, - RTSPMessageHeader *reply, - unsigned char **content_ptr, - const unsigned char *send_content, - int send_content_length); + const char *cmd, + RTSPMessageHeader *reply, + unsigned char **content_ptr, + const unsigned char *send_content, + int send_content_length); /** * Send a command to the RTSP server and wait for the reply. @@ -368,7 +368,7 @@ * @see rtsp_send_cmd_with_content */ void ff_rtsp_send_cmd(AVFormatContext *s, const char *cmd, - RTSPMessageHeader *reply, unsigned char **content_ptr); + RTSPMessageHeader *reply, unsigned char **content_ptr); /** * Read a RTSP message from the server, or prepare to read data @@ -392,8 +392,8 @@ * and 0 on success. */ int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, - unsigned char **content_ptr, - int return_on_interleaved_data); + unsigned char **content_ptr, + int return_on_interleaved_data); /** * Connect to the RTSP server and set up the individual media streams.