diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2009-03-17 12:34:57 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2009-03-17 12:34:57 +0000 |
commit | 1a30d5415f6fa2bcc42fd6d81c9e5fbce54e3d9e (patch) | |
tree | 4e4b4c65e97b3e238004a9e0507a0acf341110d9 /libavformat/rtp_asf.h | |
parent | 6d050dd673b4cda3876698208571fbfb644dde61 (diff) | |
download | ffmpeg-1a30d5415f6fa2bcc42fd6d81c9e5fbce54e3d9e.tar.gz |
Add RTP/ASF header parsing, which is part of the SDP of these streams. See
patch discussion in "[PATCH] RTSP-MS 10/15: ASF header parsing" thread.
Originally committed as revision 18023 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp_asf.h')
-rw-r--r-- | libavformat/rtp_asf.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/libavformat/rtp_asf.h b/libavformat/rtp_asf.h new file mode 100644 index 0000000000..08632a1901 --- /dev/null +++ b/libavformat/rtp_asf.h @@ -0,0 +1,35 @@ +/* + * Microsoft RTP/ASF support. + * Copyright (c) 2008 Ronald S. Bultje + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * FFmpeg is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with FFmpeg; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVFORMAT_RTP_ASF_H +#define AVFORMAT_RTP_ASF_H + +#include "avformat.h" + +/** + * Parse a Windows Media Server-specific SDP line + * + * @param s RTSP demux context + * @param line the SDP line to be parsed + */ +void ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p); + +#endif /* AVFORMAT_RTP_ASF_H */ |