Revision 3df54c6b libavformat/rtsp.h

View differences:

libavformat/rtsp.h
434 434
 *                   data packets (if they are encountered), until a reply
435 435
 *                   has been fully parsed. If no more data is available
436 436
 *                   without parsing a reply, it will return an error.
437
 * @param method the RTSP method this is a reply to. This affects how
438
 *               some response headers are acted upon. May be NULL.
437 439
 *
438 440
 * @return 1 if a data packets is ready to be received, -1 on error,
439 441
 *          and 0 on success.
440 442
 */
441 443
int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply,
442 444
                       unsigned char **content_ptr,
443
                       int return_on_interleaved_data);
445
                       int return_on_interleaved_data, const char *method);
444 446

  
445 447
/**
446 448
 * Skip a RTP/TCP interleaved packet.

Also available in: Unified diff