summaryrefslogtreecommitdiff
path: root/src/lib/util.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-24 22:30:52 +0100
committerCarl Hetherington <cth@carlh.net>2022-04-04 23:09:10 +0200
commit8eb951b71fa90e54c8da64e54cf5ddf6bf0809cf (patch)
tree21ecdd4e8b1a71840dfee3ccb5ed907d93d38c42 /src/lib/util.cc
parentcf2ed48d21ddbc32bda262064480e88e69dc031a (diff)
Cleanup: move some methods from util to memory_util.
Diffstat (limited to 'src/lib/util.cc')
-rw-r--r--src/lib/util.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc
index eeaa4cd91..f2d35fa2f 100644
--- 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)
{