Skip to content

Commit 2b49da3

Browse files
authored
Merge pull request j0r1#43 from linrock/fix-typos
Fix typos in src/rtperrors.cpp
2 parents da6067e + 5aaf096 commit 2b49da3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/rtperrors.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static RTPErrorInfo ErrorDescriptions[]=
6969
{ ERR_RTP_PACKBUILD_INVALIDMAXPACKETSIZE, "The specified maximum packet size for the RTP packet builder is invalid"},
7070
{ ERR_RTP_PACKBUILD_NOTINIT, "The RTP packet builder is not initialized"},
7171
{ ERR_RTP_PACKET_BADPAYLOADTYPE, "Invalid payload type"},
72-
{ ERR_RTP_PACKET_DATAEXCEEDSMAXSIZE, "Tried to create an RTP packet which whould exceed the specified maximum packet size"},
72+
{ ERR_RTP_PACKET_DATAEXCEEDSMAXSIZE, "Tried to create an RTP packet which would exceed the specified maximum packet size"},
7373
{ ERR_RTP_PACKET_EXTERNALBUFFERNULL, "Illegal value (null) passed as external buffer for the RTP packet"},
7474
{ ERR_RTP_PACKET_ILLEGALBUFFERSIZE, "Illegal buffer size specified for the RTP packet"},
7575
{ ERR_RTP_PACKET_INVALIDPACKET, "Invalid RTP packet format"},
@@ -117,7 +117,7 @@ static RTPErrorInfo ErrorDescriptions[]=
117117
{ ERR_RTP_SOURCES_ILLEGALSDESTYPE, "Illegal SDES type specified for processing into the source table"},
118118
{ ERR_RTP_SOURCES_SSRCEXISTS, "Can't create own SSRC because this SSRC identifier is already in the source table"},
119119
{ ERR_RTP_UDPV4TRANS_ALREADYCREATED, "The transmitter was already created"},
120-
{ ERR_RTP_UDPV4TRANS_ALREADYINIT, "The transmitter was already initialize"},
120+
{ ERR_RTP_UDPV4TRANS_ALREADYINIT, "The transmitter was already initialized"},
121121
{ ERR_RTP_UDPV4TRANS_ALREADYWAITING, "The transmitter is already waiting for incoming data"},
122122
{ ERR_RTP_UDPV4TRANS_CANTBINDRTCPSOCKET, "The 'bind' call for the RTCP socket failed"},
123123
{ ERR_RTP_UDPV4TRANS_CANTBINDRTPSOCKET, "The 'bind' call for the RTP socket failed"},
@@ -128,7 +128,7 @@ static RTPErrorInfo ErrorDescriptions[]=
128128
{ ERR_RTP_UDPV4TRANS_CANTSETRTPRECEIVEBUF, "Couldn't set the receive buffer size for the RTP socket"},
129129
{ ERR_RTP_UDPV4TRANS_CANTSETRTPTRANSMITBUF, "Couldn't set the transmission buffer size for the RTP socket"},
130130
{ ERR_RTP_UDPV4TRANS_COULDNTJOINMULTICASTGROUP, "Unable to join the specified multicast group"},
131-
{ ERR_RTP_UDPV4TRANS_DIFFERENTRECEIVEMODE, "The function called doens't match the current receive mode"},
131+
{ ERR_RTP_UDPV4TRANS_DIFFERENTRECEIVEMODE, "The function called doesn't match the current receive mode"},
132132
{ ERR_RTP_UDPV4TRANS_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter"},
133133
{ ERR_RTP_UDPV4TRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this transmitter"},
134134
{ ERR_RTP_UDPV4TRANS_NOLOCALIPS, "Couldn't determine the local host name since the local IP list is empty"},
@@ -141,7 +141,7 @@ static RTPErrorInfo ErrorDescriptions[]=
141141
{ ERR_RTP_UDPV4TRANS_PORTBASENOTEVEN, "The specified port base is not an even number"},
142142
{ ERR_RTP_UDPV4TRANS_SPECIFIEDSIZETOOBIG, "The maximum packet size is too big for this transmitter"},
143143
{ ERR_RTP_UDPV6TRANS_ALREADYCREATED, "The transmitter was already created"},
144-
{ ERR_RTP_UDPV6TRANS_ALREADYINIT, "The transmitter was already initialize"},
144+
{ ERR_RTP_UDPV6TRANS_ALREADYINIT, "The transmitter was already initialized"},
145145
{ ERR_RTP_UDPV6TRANS_ALREADYWAITING, "The transmitter is already waiting for incoming data"},
146146
{ ERR_RTP_UDPV6TRANS_CANTBINDRTCPSOCKET, "The 'bind' call for the RTCP socket failed"},
147147
{ ERR_RTP_UDPV6TRANS_CANTBINDRTPSOCKET, "The 'bind' call for the RTP socket failed"},
@@ -152,7 +152,7 @@ static RTPErrorInfo ErrorDescriptions[]=
152152
{ ERR_RTP_UDPV6TRANS_CANTSETRTPRECEIVEBUF, "Couldn't set the receive buffer size for the RTP socket"},
153153
{ ERR_RTP_UDPV6TRANS_CANTSETRTPTRANSMITBUF, "Couldn't set the transmission buffer size for the RTP socket"},
154154
{ ERR_RTP_UDPV6TRANS_COULDNTJOINMULTICASTGROUP, "Unable to join the specified multicast group"},
155-
{ ERR_RTP_UDPV6TRANS_DIFFERENTRECEIVEMODE, "The function called doens't match the current receive mode"},
155+
{ ERR_RTP_UDPV6TRANS_DIFFERENTRECEIVEMODE, "The function called doesn't match the current receive mode"},
156156
{ ERR_RTP_UDPV6TRANS_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter"},
157157
{ ERR_RTP_UDPV6TRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this transmitter"},
158158
{ ERR_RTP_UDPV6TRANS_NOLOCALIPS, "Couldn't determine the local host name since the local IP list is empty"},
@@ -168,10 +168,10 @@ static RTPErrorInfo ErrorDescriptions[]=
168168
{ ERR_RTP_SDES_MAXPRIVITEMS,"The maximum number of SDES private item prefixes was reached"},
169169
{ ERR_RTP_INTERNALSOURCEDATA_INVALIDPROBATIONTYPE,"An invalid probation type was specified"},
170170
{ ERR_RTP_FAKETRANS_ALREADYCREATED, "The transmitter was already created"},
171-
{ ERR_RTP_FAKETRANS_ALREADYINIT, "The transmitter was already initialize"},
171+
{ ERR_RTP_FAKETRANS_ALREADYINIT, "The transmitter was already initialized"},
172172
{ ERR_RTP_FAKETRANS_CANTINITMUTEX, "Failed to initialize a mutex used by the transmitter"},
173173
{ ERR_RTP_FAKETRANS_COULDNTJOINMULTICASTGROUP, "Unable to join the specified multicast group"},
174-
{ ERR_RTP_FAKETRANS_DIFFERENTRECEIVEMODE, "The function called doens't match the current receive mode"},
174+
{ ERR_RTP_FAKETRANS_DIFFERENTRECEIVEMODE, "The function called doesn't match the current receive mode"},
175175
{ ERR_RTP_FAKETRANS_ILLEGALPARAMETERS, "Illegal parameters type passed to the transmitter"},
176176
{ ERR_RTP_FAKETRANS_INVALIDADDRESSTYPE, "Specified address type isn't compatible with this transmitter"},
177177
{ ERR_RTP_FAKETRANS_NOLOCALIPS, "Couldn't determine the local host name since the local IP list is empty"},

0 commit comments

Comments
 (0)