From 8eb951b71fa90e54c8da64e54cf5ddf6bf0809cf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 24 Jan 2022 22:30:52 +0100 Subject: Cleanup: move some methods from util to memory_util. --- src/lib/util.cc | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/lib/util.cc') 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 split_get_request (string url) { -- cgit v1.2.3