summaryrefslogtreecommitdiff
path: root/src/JP2K_Sequence_Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/JP2K_Sequence_Parser.cpp')
-rwxr-xr-xsrc/JP2K_Sequence_Parser.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/JP2K_Sequence_Parser.cpp b/src/JP2K_Sequence_Parser.cpp
index 044ed46..c33321e 100755
--- a/src/JP2K_Sequence_Parser.cpp
+++ b/src/JP2K_Sequence_Parser.cpp
@@ -1,5 +1,5 @@
/*
-Copyright (c) 2004-2009, John Hurst
+Copyright (c) 2004-2011, John Hurst
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -78,7 +78,9 @@ public:
std::string Str(m_DirName);
Str += "/";
Str += next_file;
- push_back(Str);
+
+ if ( ! Kumu::PathIsDirectory(Str) )
+ push_back(Str);
}
sort();