mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-29 20:36:47 +08:00
Some spelling fixes.
Originally committed as revision 22720 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -46,7 +46,7 @@
|
|||||||
int rtsp_default_protocols = (1 << RTSP_LOWER_TRANSPORT_UDP);
|
int rtsp_default_protocols = (1 << RTSP_LOWER_TRANSPORT_UDP);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Timout values for socket select, in ms,
|
/* Timeout values for socket select, in ms,
|
||||||
* and read_packet(), in seconds */
|
* and read_packet(), in seconds */
|
||||||
#define SELECT_TIMEOUT_MS 100
|
#define SELECT_TIMEOUT_MS 100
|
||||||
#define READ_PACKET_TIMEOUT_S 10
|
#define READ_PACKET_TIMEOUT_S 10
|
||||||
@ -232,7 +232,7 @@ typedef struct {
|
|||||||
uint32_t offset;
|
uint32_t offset;
|
||||||
} AttrNameMap;
|
} AttrNameMap;
|
||||||
|
|
||||||
/* All known fmtp parmeters and the corresping RTPAttrTypeEnum */
|
/* All known fmtp parameters and the corresponding RTPAttrTypeEnum */
|
||||||
#define ATTR_NAME_TYPE_INT 0
|
#define ATTR_NAME_TYPE_INT 0
|
||||||
#define ATTR_NAME_TYPE_STR 1
|
#define ATTR_NAME_TYPE_STR 1
|
||||||
static const AttrNameMap attr_names[]=
|
static const AttrNameMap attr_names[]=
|
||||||
@ -252,7 +252,7 @@ static const AttrNameMap attr_names[]=
|
|||||||
{ NULL, -1, -1 },
|
{ NULL, -1, -1 },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* parse the attribute line from the fmtp a line of an sdp resonse. This
|
/* parse the attribute line from the fmtp a line of an sdp response. This
|
||||||
* is broken out as a function because it is used in rtp_h264.c, which is
|
* is broken out as a function because it is used in rtp_h264.c, which is
|
||||||
* forthcoming. */
|
* forthcoming. */
|
||||||
int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size,
|
int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size,
|
||||||
@ -692,7 +692,7 @@ static int rtsp_open_transport_ctx(AVFormatContext *s, RTSPStream *rtsp_st)
|
|||||||
|
|
||||||
if (s->oformat) {
|
if (s->oformat) {
|
||||||
rtsp_st->transport_priv = rtsp_rtp_mux_open(s, st, rtsp_st->rtp_handle);
|
rtsp_st->transport_priv = rtsp_rtp_mux_open(s, st, rtsp_st->rtp_handle);
|
||||||
/* Ownage of rtp_handle is passed to the rtp mux context */
|
/* Ownership of rtp_handle is passed to the rtp mux context */
|
||||||
rtsp_st->rtp_handle = NULL;
|
rtsp_st->rtp_handle = NULL;
|
||||||
} else if (rt->transport == RTSP_TRANSPORT_RDT)
|
} else if (rt->transport == RTSP_TRANSPORT_RDT)
|
||||||
rtsp_st->transport_priv = ff_rdt_parse_open(s, st->index,
|
rtsp_st->transport_priv = ff_rdt_parse_open(s, st->index,
|
||||||
|
Reference in New Issue
Block a user