projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup: move some methods from util to memory_util.
[dcpomatic.git]
/
src
/
lib
/
util.cc
diff --git
a/src/lib/util.cc
b/src/lib/util.cc
index eeaa4cd91e60ace733362002946cf674d40b6201..f2d35fa2f7fc04c344de5620563e02df15a94872 100644
(file)
--- a/
src/lib/util.cc
+++ b/
src/lib/util.cc
@@
-652,16
+652,6
@@
fit_ratio_within (float ratio, dcp::Size full_frame)
return dcp::Size (full_frame.width, lrintf (full_frame.width / ratio));
}
-void *
-wrapped_av_malloc (size_t s)
-{
- auto p = av_malloc (s);
- if (!p) {
- throw bad_alloc ();
- }
- return p;
-}
-
map<string, string>
split_get_request (string url)
{