Revision 93993933 libavformat/rtsp.c

View differences:

libavformat/rtsp.c
251 251
 * is broken out as a function because it is used in rtp_h264.c, which is
252 252
 * forthcoming. */
253 253
int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size,
254
                             char *value, int value_size)
254
                                char *value, int value_size)
255 255
{
256 256
    skip_spaces(p);
257 257
    if (**p) {
......
280 280

  
281 281
    /* loop on each attribute */
282 282
    while (ff_rtsp_next_attr_and_value(&p, attr, sizeof(attr),
283
                                    value, sizeof(value))) {
283
                                       value, sizeof(value))) {
284 284
        /* grab the codec extra_data from the config parameter of the fmtp
285 285
         * line */
286 286
        sdp_parse_fmtp_config(codec, rtsp_st->dynamic_protocol_context,
......
882 882
}
883 883

  
884 884
int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
885
                    unsigned char **content_ptr,
886
                    int return_on_interleaved_data)
885
                       unsigned char **content_ptr,
886
                       int return_on_interleaved_data)
887 887
{
888 888
    RTSPState *rt = s->priv_data;
889 889
    char buf[4096], buf1[1024], *q;
......
969 969
}
970 970

  
971 971
void ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
972
                                      const char *cmd,
973
                                      const unsigned char *send_content,
974
                                      int send_content_length)
972
                                         const char *cmd,
973
                                         const unsigned char *send_content,
974
                                         int send_content_length)
975 975
{
976 976
    RTSPState *rt = s->priv_data;
977 977
    char buf[4096], buf1[1024];
......
1006 1006
}
1007 1007

  
1008 1008
void ff_rtsp_send_cmd(AVFormatContext *s,
1009
                   const char *cmd, RTSPMessageHeader *reply,
1010
                   unsigned char **content_ptr)
1009
                      const char *cmd, RTSPMessageHeader *reply,
1010
                      unsigned char **content_ptr)
1011 1011
{
1012 1012
    ff_rtsp_send_cmd_async(s, cmd);
1013 1013

  

Also available in: Unified diff