diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-24 11:27:12 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-24 11:27:12 +0000 |
commit | f7d78f3654f8181fb889000dfc2b9a91ca85e418 (patch) | |
tree | 2dd03806da8128c531f95b35a28cfb245e405ff0 /ffplay.c | |
parent | 3565e10b44cc978b75a5179191bc4a3c946a2e4a (diff) | |
download | ffmpeg-f7d78f3654f8181fb889000dfc2b9a91ca85e418.tar.gz |
replace the uses of old string functions that Reimar missed
Originally committed as revision 9406 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,6 +21,7 @@ #include "avformat.h" #include "swscale.h" +#include "avstring.h" #include "version.h" #include "cmdutils.h" @@ -2109,7 +2110,7 @@ static VideoState *stream_open(const char *filename, AVInputFormat *iformat) is = av_mallocz(sizeof(VideoState)); if (!is) return NULL; - pstrcpy(is->filename, sizeof(is->filename), filename); + av_strlcpy(is->filename, filename, sizeof(is->filename)); is->iformat = iformat; is->ytop = 0; is->xleft = 0; |