Revision f7d78f36 ffplay.c

View differences:

ffplay.c
21 21

  
22 22
#include "avformat.h"
23 23
#include "swscale.h"
24
#include "avstring.h"
24 25

  
25 26
#include "version.h"
26 27
#include "cmdutils.h"
......
2109 2110
    is = av_mallocz(sizeof(VideoState));
2110 2111
    if (!is)
2111 2112
        return NULL;
2112
    pstrcpy(is->filename, sizeof(is->filename), filename);
2113
    av_strlcpy(is->filename, filename, sizeof(is->filename));
2113 2114
    is->iformat = iformat;
2114 2115
    is->ytop = 0;
2115 2116
    is->xleft = 0;

Also available in: Unified diff