| 2977 | } |
| 2978 | |
| 2979 | static fileInfo_t FIO_addFInfo(fileInfo_t fi1, fileInfo_t fi2) |
| 2980 | { |
| 2981 | fileInfo_t total; |
| 2982 | memset(&total, 0, sizeof(total)); |
| 2983 | total.numActualFrames = fi1.numActualFrames + fi2.numActualFrames; |
| 2984 | total.numSkippableFrames = fi1.numSkippableFrames + fi2.numSkippableFrames; |
| 2985 | total.compressedSize = fi1.compressedSize + fi2.compressedSize; |
| 2986 | total.decompressedSize = fi1.decompressedSize + fi2.decompressedSize; |
| 2987 | total.decompUnavailable = fi1.decompUnavailable | fi2.decompUnavailable; |
| 2988 | total.usesCheck = fi1.usesCheck & fi2.usesCheck; |
| 2989 | total.nbFiles = fi1.nbFiles + fi2.nbFiles; |
| 2990 | return total; |
| 2991 | } |
| 2992 | |
| 2993 | static int |
| 2994 | FIO_listFile(fileInfo_t* total, const char* inFileName, int displayLevel) |
no test coverage detected