diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:43:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-01 13:43:41 +0100 |
| commit | 6bc83f72f12c8513a1e9e9b6fd880697a73f968f (patch) | |
| tree | 2b7f8b1456aea84dc088b5638524e908585c7e6e /src/lib/writer.cc | |
| parent | a6b3b4539ae17ce59f975a4be49278f4ccc736fd (diff) | |
while (1) -> while (true)
Diffstat (limited to 'src/lib/writer.cc')
| -rw-r--r-- | src/lib/writer.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/writer.cc b/src/lib/writer.cc index 01da6d3b4..66ddb58f7 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -238,11 +238,11 @@ void Writer::thread () try { - while (1) + while (true) { boost::mutex::scoped_lock lock (_mutex); - while (1) { + while (true) { if (_finish || _queued_full_in_memory > _maximum_frames_in_memory || have_sequenced_image_at_queue_head ()) { /* We've got something to do: go and do it */ @@ -563,7 +563,7 @@ Writer::check_existing_picture_mxf () ++N; } - while (1) { + while (true) { shared_ptr<Job> job = _job.lock (); assert (job); |
