Cleanup: move some methods from util to memory_util
[dcpomatic.git] / src / lib / util.cc
index 2767068d4ddb6d41cf477b32a9f94b5b73cf52ca..a6a26ccf7e578afc538bcf3ae913044224965ad4 100644 (file)
@@ -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)
 {
 map<string, string>
 split_get_request (string url)
 {