if info.get_extradata().is_none() { return Err(DecoderError::InvalidData); }
if let NACodecTypeInfo::Video(vinfo) = info.get_properties() {
let w = vinfo.get_width();
if info.get_extradata().is_none() { return Err(DecoderError::InvalidData); }
if let NACodecTypeInfo::Video(vinfo) = info.get_properties() {
let w = vinfo.get_width();
let src = pkt.get_buffer();
if src.len() <= 1 { return Err(DecoderError::ShortData); }
let off = if self.is_rm {
let src = pkt.get_buffer();
if src.len() <= 1 { return Err(DecoderError::ShortData); }
let off = if self.is_rm {