projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0731899
)
Pretty embarassing bug; we shouldn't use av_strlcatf() on an uninitialized
author
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 21 Jan 2010 19:48:30 +0000
(19:48 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 21 Jan 2010 19:48:30 +0000
(19:48 +0000)
buffer, that is doomed to not work at some point.
Originally committed as revision 21368 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rtsp.c
patch
|
blob
|
history
diff --git
a/libavformat/rtsp.c
b/libavformat/rtsp.c
index
92416ed
..
7d482a7
100644
(file)
--- a/
libavformat/rtsp.c
+++ b/
libavformat/rtsp.c
@@
-1589,7
+1589,7
@@
static int rtsp_read_packet(AVFormatContext *s, AVPacket *pkt)
if (!rt->need_subscription) {
if (memcmp (cache, rt->real_setup_cache,
sizeof(enum AVDiscard) * s->nb_streams)) {
-
av_strlca
tf(cmd, sizeof(cmd),
+
snprin
tf(cmd, sizeof(cmd),
"SET_PARAMETER %s RTSP/1.0\r\n"
"Unsubscribe: %s\r\n",
s->filename, rt->last_subscription);