Revision 3d21b4f6

View differences:

libavformat/rtsp.c
924 924
    return 0;
925 925
}
926 926

  
927
int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
928
                                        const char *method, const char *url,
929
                                        const char *headers,
930
                                        const unsigned char *send_content,
931
                                        int send_content_length)
927
/**
928
 * Send a command to the RTSP server without waiting for the reply.
929
 *
930
 * @param s RTSP (de)muxer context
931
 * @param method the method for the request
932
 * @param url the target url for the request
933
 * @param headers extra header lines to include in the request
934
 * @param send_content if non-null, the data to send as request body content
935
 * @param send_content_length the length of the send_content data, or 0 if
936
 *                            send_content is null
937
 *
938
 * @return zero if success, nonzero otherwise
939
 */
940
static int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
941
                                               const char *method, const char *url,
942
                                               const char *headers,
943
                                               const unsigned char *send_content,
944
                                               int send_content_length)
932 945
{
933 946
    RTSPState *rt = s->priv_data;
934 947
    char buf[4096], *out_buf;
libavformat/rtsp.h
374 374
/**
375 375
 * Send a command to the RTSP server without waiting for the reply.
376 376
 *
377
 * @param s RTSP (de)muxer context
378
 * @param method the method for the request
379
 * @param url the target url for the request
380
 * @param headers extra header lines to include in the request
381
 * @param send_content if non-null, the data to send as request body content
382
 * @param send_content_length the length of the send_content data, or 0 if
383
 *                            send_content is null
384
 *
385
 * @return zero if success, nonzero otherwise
386
 */
387
int ff_rtsp_send_cmd_with_content_async(AVFormatContext *s,
388
                                        const char *method, const char *url,
389
                                        const char *headers,
390
                                        const unsigned char *send_content,
391
                                        int send_content_length);
392
/**
393
 * Send a command to the RTSP server without waiting for the reply.
394
 *
395 377
 * @see rtsp_send_cmd_with_content_async
396 378
 */
397 379
int ff_rtsp_send_cmd_async(AVFormatContext *s, const char *method,

Also available in: Unified diff