projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Swap deprecated FFmpeg call.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index 074e08cb70e819617391f5c4a6115e830d6444cc..55df5cc83798ba126eeebc82a0e9ca0d7f71aa34 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-267,7
+267,8
@@
terminate ()
try {
// try once to re-throw currently active exception
- if (!tried_throw++) {
+ if (!tried_throw) {
+ tried_throw = true;
throw;
}
}