Commit 464659f0 authored by rbultje's avatar rbultje

Fix issue1658 (trailing space in rtpmap descriptor).



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21187 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4319057b
......@@ -102,8 +102,11 @@ static int sdp_parse_rtpmap(AVFormatContext *s,
const char *c_name;
/* Loop into AVRtpDynamicPayloadTypes[] and AVRtpPayloadTypes[] and
* see if we can handle this kind of payload. */
get_word_sep(buf, sizeof(buf), "/", &p);
* see if we can handle this kind of payload.
* The space should normally not be there but some Real streams or
* particular servers ("RealServer Version 6.1.3.970", see issue 1658)
* have a trailing space. */
get_word_sep(buf, sizeof(buf), "/ ", &p);
if (payload_type >= RTP_PT_PRIVATE) {
RTPDynamicProtocolHandler *handler;
for (handler = RTPFirstDynamicPayloadHandler;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment