diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-24 22:30:52 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-25 19:44:56 +0100 |
| commit | 9c8d2ed2e112596f7bb970d20f9240ec4519ec3e (patch) | |
| tree | 17a3572aea8c28bc48af0c25055408336090e988 /src/lib/util.cc | |
| parent | f471db4e8dc7f3dd1eb7a9cf4d8d11e7d340df65 (diff) | |
Cleanup: move some methods from util to memory_util
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 2767068d4..a6a26ccf7 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -680,17 +680,6 @@ fit_ratio_within (float ratio, dcp::Size full_frame) } -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) { |
