annotate rtpdec_asf.h @ 6191:7884ec350d88 libavformat

rtpdec: Clean up FMTP parsing code in MPEG-4/AAC RTP depacketizer Patch by Josh Allmann, joshua dot allmann at gmail
author mstorsjo
date Mon, 28 Jun 2010 11:30:44 +0000
parents 04b39763b51b
children 278843790234
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4744
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
1 /*
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
2 * Microsoft RTP/ASF support.
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
3 * Copyright (c) 2008 Ronald S. Bultje
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
4 *
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
5 * This file is part of FFmpeg.
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
6 *
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
11 *
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
15 * Lesser General Public License for more details.
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
16 *
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
20 */
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
21
5726
04b39763b51b Rename RTP depacketizer files from rtp_* to rtpdec_*
mstorsjo
parents: 4754
diff changeset
22 #ifndef AVFORMAT_RTPDEC_ASF_H
04b39763b51b Rename RTP depacketizer files from rtp_* to rtpdec_*
mstorsjo
parents: 4754
diff changeset
23 #define AVFORMAT_RTPDEC_ASF_H
4744
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
24
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
25 #include "avformat.h"
4754
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
26 #include "rtpdec.h"
4744
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
27
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
28 /**
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
29 * Parse a Windows Media Server-specific SDP line
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
30 *
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
31 * @param s RTSP demux context
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
32 * @param line the SDP line to be parsed
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
33 */
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
34 void ff_wms_parse_sdp_a_line(AVFormatContext *s, const char *p);
51899c07a4f1 Add RTP/ASF header parsing, which is part of the SDP of these streams. See
rbultje
parents:
diff changeset
35
4754
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
36 /**
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
37 * Handlers for the x-asf-pf payloads (the payload ID for RTP/ASF).
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
38 * Defined and implemented in rtp_asf.c, registered in rtpdec.c.
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
39 */
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
40 extern RTPDynamicProtocolHandler ff_ms_rtp_asf_pfv_handler,
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
41 ff_ms_rtp_asf_pfa_handler;
c78617194786 Assign the x-pf-asf payload string to be decoded by rtp_asf.c, and add a
rbultje
parents: 4744
diff changeset
42
5726
04b39763b51b Rename RTP depacketizer files from rtp_* to rtpdec_*
mstorsjo
parents: 4754
diff changeset
43 #endif /* AVFORMAT_RTPDEC_ASF_H */