RAW picture file support

This commit is contained in:
2020-06-21 10:46:11 -04:00
parent 6d01f9c0df
commit eb559b53aa
12 changed files with 260 additions and 131 deletions

View File

@@ -119,6 +119,8 @@ void parse(void *arg) {
if (!(SHOULD_PARSE(doc.mime))) {
} else if (IS_RAW(doc.mime)) {
parse_raw(&ScanCtx.raw_ctx, &job->vfile, &doc);
} else if ((mmime == MimeVideo && doc.size >= MIN_VIDEO_SIZE) ||
(mmime == MimeImage && doc.size >= MIN_IMAGE_SIZE) || mmime == MimeAudio) {