diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-07-17 20:53:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-07-17 20:53:20 +0100 |
| commit | e639e3597db2ef2cf0f51e2fcc62725d579927bd (patch) | |
| tree | e12a3ee724b0c6121a6e1b16af8bdbc9d0ac2bd7 /src | |
| parent | 886df5c12e7a74b2c78c1f6d0b362006e5a7777f (diff) | |
Speculative OpenMP build fix (github bug #1).
Diffstat (limited to 'src')
| -rw-r--r-- | src/mono_picture_asset.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mono_picture_asset.cc b/src/mono_picture_asset.cc index 5a014910..de49b1b9 100644 --- a/src/mono_picture_asset.cc +++ b/src/mono_picture_asset.cc @@ -124,13 +124,13 @@ MonoPictureAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, No bool result = true; + shared_ptr<MonoPictureAssetReader> reader = start_read (); + shared_ptr<MonoPictureAssetReader> other_reader = other_picture->start_read (); + #ifdef LIBDCP_OPENMP #pragma omp parallel for #endif - shared_ptr<MonoPictureAssetReader> reader = start_read (); - shared_ptr<MonoPictureAssetReader> other_reader = other_picture->start_read (); - for (int i = 0; i < _intrinsic_duration; ++i) { if (i >= other_picture->intrinsic_duration()) { result = false; |
