From 7d0091f6472036902c4dde42a0eec6f4498806fd Mon Sep 17 00:00:00 2001 From: simon987 Date: Thu, 5 Mar 2020 21:54:56 -0500 Subject: [PATCH] whoops --- src/parsing/parse.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/parsing/parse.c b/src/parsing/parse.c index bebd3c1..2347e71 100644 --- a/src/parsing/parse.c +++ b/src/parsing/parse.c @@ -119,11 +119,11 @@ void parse(void *arg) { } else if ((mmime == MimeVideo && doc.size >= MIN_VIDEO_SIZE) || (mmime == MimeImage && doc.size >= MIN_IMAGE_SIZE) || mmime == MimeAudio) { -// if (job->vfile.is_fs_file) { -// parse_media_filename(job->filepath, &doc); -// } else { -// parse_media_vfile(&job->vfile, &doc); -// } + if (job->vfile.is_fs_file) { + parse_media_filename(job->filepath, &doc); + } else { + parse_media_vfile(&job->vfile, &doc); + } } else if (IS_PDF(doc.mime)) { void *pdf_buf = read_all(job, (char *) buf, bytes_read);