diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-10 16:04:03 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-10 16:07:05 +0400 |
commit | cd6f5c4895c49b483542030324ea5198521ab28b (patch) | |
tree | c1ae5a95d3b19de827e98270ff060124086c4414 /libavformat/rtspdec.c | |
parent | b7ebb49d035205bcfbcc4f1788df5ba1419fadc8 (diff) | |
parent | 6d0beefbf6ee6dbf8efb522a9307e54c6ed5f702 (diff) |
Merge commit '6d0beefbf6ee6dbf8efb522a9307e54c6ed5f702'
* commit '6d0beefbf6ee6dbf8efb522a9307e54c6ed5f702':
swscale: Do not make ff_ symbols globally visible.
rtspdec: use av_strlcpy for writing into fixed size buffer
g722enc: fix size argument in memset
http: use av_strlcpy instead of strcpy() without size checks
avfilter: correct memcpy size avfilter_copy_buf_props()
lavc: split asv12 encoder/decoder
Conflicts:
libavcodec/asvdec.c
libavfilter/buffer.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtspdec.c')
-rw-r--r-- | libavformat/rtspdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c index 856be56788..d3f46534cc 100644 --- a/libavformat/rtspdec.c +++ b/libavformat/rtspdec.c @@ -436,7 +436,7 @@ static inline int parse_command_line(AVFormatContext *s, const char *line, if (*methodcode == ANNOUNCE) { av_log(s, AV_LOG_INFO, "Updating control URI to %s\n", uri); - strcpy(rt->control_uri, uri); + av_strlcpy(rt->control_uri, uri, sizeof(rt->control_uri)); } } |