Merge commit 'b90adb0aba'
* commit 'b90adb0aba':
rtsp: Make sure we don't write too many transport entries into a fixed-size array
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
10a28e8a08
1 changed files with 2 additions and 0 deletions
|
|
@ -979,6 +979,8 @@ static void rtsp_parse_transport(RTSPMessageHeader *reply, const char *p)
|
|||
p++;
|
||||
|
||||
reply->nb_transports++;
|
||||
if (reply->nb_transports >= RTSP_MAX_TRANSPORTS)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue