Searched refs:fntemplate (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/tools/ |
H A D | pktdumper.c | 54 char fntemplate[FILENAME_BUF_SIZE]; local 76 av_strlcpy(fntemplate, argv[1], sizeof(fntemplate)); 78 av_strlcpy(fntemplate, strrchr(argv[1], '/') + 1, sizeof(fntemplate)); 79 if (strrchr(fntemplate, '.')) 80 *strrchr(fntemplate, '.') = '\0'; 81 if (strchr(fntemplate, '%')) { 85 if (strlen(fntemplate) + sizeof(PKTFILESUFF) >= sizeof(fntemplate) [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/tools/ |
H A D | pktdumper.c | 45 char fntemplate[PATH_MAX]; local 67 strncpy(fntemplate, argv[1], PATH_MAX-1); 69 strncpy(fntemplate, strrchr(argv[1], '/')+1, PATH_MAX-1); 70 if (strrchr(fntemplate, '.')) 71 *strrchr(fntemplate, '.') = '\0'; 72 if (strchr(fntemplate, '%')) { 76 if (strlen(fntemplate) + sizeof(PKTFILESUFF) >= PATH_MAX-1) { 80 strcat(fntemplate, PKTFILESUFF); 81 printf("FNTEMPLATE: '%s'\n", fntemplate); 102 snprintf(pktfilename, PATH_MAX-1, fntemplate, pktnu [all...] |
Completed in 102 milliseconds