Mercurial > libavformat.hg
comparison rtsp.h @ 5909:b8041f85c327 libavformat
Replace @returns by @return.
author | benoit |
---|---|
date | Tue, 30 Mar 2010 15:50:57 +0000 |
parents | f075d373e9be |
children | ac73cfb210dc |
comparison
equal
deleted
inserted
replaced
5908:e0e34711fc2e | 5909:b8041f85c327 |
---|---|
402 * a '$'. If it is not set, the function will skip any | 402 * a '$'. If it is not set, the function will skip any |
403 * data packets (if they are encountered), until a reply | 403 * data packets (if they are encountered), until a reply |
404 * has been fully parsed. If no more data is available | 404 * has been fully parsed. If no more data is available |
405 * without parsing a reply, it will return an error. | 405 * without parsing a reply, it will return an error. |
406 * | 406 * |
407 * @returns 1 if a data packets is ready to be received, -1 on error, | 407 * @return 1 if a data packets is ready to be received, -1 on error, |
408 * and 0 on success. | 408 * and 0 on success. |
409 */ | 409 */ |
410 int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, | 410 int ff_rtsp_read_reply(AVFormatContext *s, RTSPMessageHeader *reply, |
411 unsigned char **content_ptr, | 411 unsigned char **content_ptr, |
412 int return_on_interleaved_data); | 412 int return_on_interleaved_data); |
420 * Connect to the RTSP server and set up the individual media streams. | 420 * Connect to the RTSP server and set up the individual media streams. |
421 * This can be used for both muxers and demuxers. | 421 * This can be used for both muxers and demuxers. |
422 * | 422 * |
423 * @param s RTSP (de)muxer context | 423 * @param s RTSP (de)muxer context |
424 * | 424 * |
425 * @returns 0 on success, < 0 on error. Cleans up all allocations done | 425 * @return 0 on success, < 0 on error. Cleans up all allocations done |
426 * within the function on error. | 426 * within the function on error. |
427 */ | 427 */ |
428 int ff_rtsp_connect(AVFormatContext *s); | 428 int ff_rtsp_connect(AVFormatContext *s); |
429 | 429 |
430 /** | 430 /** |