diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-01 13:33:23 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-01 13:33:23 +0100 |
| commit | 7258a88930092beffa14afeb581a61985c72fd3d (patch) | |
| tree | 166227e335c2bc9e293e9678317c3c9bf4438b99 /src/lib/image_content.cc | |
| parent | 1366fd9bc68e92f1a5637c570f15e975fac9fd05 (diff) | |
f45b53e8f5d13f3dd3eecd14bfd44a12fb788d4e from master; ignore ._ files.
Diffstat (limited to 'src/lib/image_content.cc')
| -rw-r--r-- | src/lib/image_content.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image_content.cc b/src/lib/image_content.cc index a9cb148c2..f9a772e00 100644 --- a/src/lib/image_content.cc +++ b/src/lib/image_content.cc @@ -40,7 +40,7 @@ ImageContent::ImageContent (shared_ptr<const Film> f, boost::filesystem::path p) , VideoContent (f) { bool have_j2k = false; - if (boost::filesystem::is_regular_file (p)) { + if (boost::filesystem::is_regular_file (p) && valid_image_file (p)) { _paths.push_back (p); if (valid_j2k_file (p)) { have_j2k = true; |
