Revision 1a5e4fd8 ffmpeg.c

View differences:

ffmpeg.c
3695 3695
    char *p;
3696 3696
    char idx_str[16];
3697 3697

  
3698
    strncpy(idx_str, arg, sizeof(idx_str));
3699
    idx_str[sizeof(idx_str)-1] = '\0';
3698
    av_strlcpy(idx_str, arg, sizeof(idx_str));
3700 3699
    p = strchr(idx_str, ':');
3701 3700
    if (!p) {
3702 3701
        fprintf(stderr,

Also available in: Unified diff