You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2020/10/09 20:20:48 UTC
[tika] branch branch_1x updated: TIKA-3203 -- fix and release fork
of mp4parser...then upgrade in Tika -- attempt to delete the tmp file when
finished with the ISOFile instead of waiting for deleteOnExit.
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch branch_1x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/branch_1x by this push:
new cb3e659 TIKA-3203 -- fix and release fork of mp4parser...then upgrade in Tika -- attempt to delete the tmp file when finished with the ISOFile instead of waiting for deleteOnExit.
cb3e659 is described below
commit cb3e65978409f364506380b3daea5042e4d88656
Author: tallison <ta...@apache.org>
AuthorDate: Fri Oct 9 16:20:34 2020 -0400
TIKA-3203 -- fix and release fork of mp4parser...then upgrade in Tika -- attempt to delete the tmp file when finished with the ISOFile instead of waiting for deleteOnExit.
---
tika-parsers/pom.xml | 2 +-
tika-parsers/src/main/java/org/apache/tika/parser/mp4/MP4Parser.java | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/tika-parsers/pom.xml b/tika-parsers/pom.xml
index d1e04e8..4f9ceb7 100644
--- a/tika-parsers/pom.xml
+++ b/tika-parsers/pom.xml
@@ -316,7 +316,7 @@
<dependency>
<groupId>org.tallison</groupId>
<artifactId>isoparser</artifactId>
- <version>1.9.41.2</version>
+ <version>1.9.41.4</version>
</dependency>
<!-- this is a fork of com.drewnoakes
metadata extractor that shade/relocates com.adobe.internal
diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/mp4/MP4Parser.java b/tika-parsers/src/main/java/org/apache/tika/parser/mp4/MP4Parser.java
index ea8d94d..933c53c 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/mp4/MP4Parser.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/mp4/MP4Parser.java
@@ -128,7 +128,6 @@ public class MP4Parser extends AbstractParser {
TikaInputStream tstream = TikaInputStream.get(stream, tmp);
try (IsoFile isoFile = new IsoFile(tstream.getFile())) {
- tmp.addResource(isoFile);
// Grab the file type box
FileTypeBox fileType = getOrNull(isoFile, FileTypeBox.class);