OSDN Git Service

rtsp: Don't pass string pointer as format string to ff_url_join
authorMartin Storsjö <martin@martin.st>
Thu, 16 Jun 2011 08:04:27 +0000 (11:04 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 16 Jun 2011 14:40:28 +0000 (17:40 +0300)
commitd840733937a3f00dcedbf20507077a4891173516
tree0548b8d43d3eb5015649b03b93ec0a45b27c0a07
parent6095388812ce1b2a95e9917b89e5857639208f88
rtsp: Don't pass string pointer as format string to ff_url_join

In this case, the string that was passed couldn't contain
user-defined data and thus there was no risk for injection
bugs, but it's safer this way, if we later change the
content of the options string.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtsp.c