use default allocator (system)

This commit is contained in:
2019-07-11 00:03:07 +02:00
parent f0134053f7
commit 76edb0542e

View File

@@ -1,4 +1,3 @@
use std::alloc;
use std::env; use std::env;
use std::path::Path; use std::path::Path;
use std::{fs, io}; use std::{fs, io};
@@ -6,9 +5,6 @@ use std::{fs, io};
use ffmpeg_next::{self as ffmpeg, codec, filter, format, frame, media}; use ffmpeg_next::{self as ffmpeg, codec, filter, format, frame, media};
use rayon::prelude::*; use rayon::prelude::*;
#[global_allocator]
static ALLOCATOR: alloc::System = alloc::System;
#[derive(Debug)] #[derive(Debug)]
enum Error { enum Error {
Io(io::Error), Io(io::Error),