Skip to content

Commit

Permalink
Moved native QuickTime reader to loci.formats.in.NativeQTReader. QTRe…
Browse files Browse the repository at this point in the history
…ader is now the master reader for QuickTime files, and will delegate to NativeQTReader or LegacyQTReader as appropriate. See #362.
  • Loading branch information
melissalinkert committed Mar 11, 2009
1 parent 0ee3595 commit fba4665
Show file tree
Hide file tree
Showing 3 changed files with 755 additions and 635 deletions.
Expand Up @@ -112,7 +112,7 @@ public BufferedImage openImage(int no, int x, int y, int w, int h)
/* @see loci.formats.IFormatReader#close(boolean) */
public void close(boolean fileOnly) throws IOException {
try {
if (r.getVar("openMovieFile") != null) {
if (r != null && r.getVar("openMovieFile") != null) {
r.exec("openMovieFile.close()");
if (!fileOnly) {
r.exec("m.disposeQTObject()");
Expand Down

0 comments on commit fba4665

Please sign in to comment.