projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d29ca4
)
Remove unnecessary check.
cleanups
author
Carl Hetherington
<cth@carlh.net>
Fri, 3 Dec 2021 20:18:53 +0000
(21:18 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 3 Dec 2021 20:23:07 +0000
(21:23 +0100)
src/lib/ffmpeg_file_encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_file_encoder.cc
b/src/lib/ffmpeg_file_encoder.cc
index 705557f799b3b76f434eb182fe116b4a32b03e85..f7204d0847fff4d79d207ddfaccb7a78248c307a 100644
(file)
--- a/
src/lib/ffmpeg_file_encoder.cc
+++ b/
src/lib/ffmpeg_file_encoder.cc
@@
-501,7
+501,5
@@
void
FFmpegFileEncoder::buffer_free2 (uint8_t* data)
{
boost::mutex::scoped_lock lm (_pending_images_mutex);
- if (_pending_images.find(data) != _pending_images.end()) {
- _pending_images.erase (data);
- }
+ _pending_images.erase (data);
}