use std::cmp::max;
use std::collections::HashMap;
use std::fmt;
-use std::rc::Rc;
-use std::cell::*;
-use crate::formats::*;
+pub use std::rc::Rc;
+pub use std::cell::*;
+pub use crate::formats::*;
#[allow(dead_code)]
#[derive(Clone,Copy,PartialEq)]
}
}
+impl Default for NACodecInfo {
+ fn default() -> Self { DUMMY_CODEC_INFO }
+}
+
impl fmt::Display for NACodecInfo {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
let edata = match self.extradata.clone() {