X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-commonfmt%2Fsrc%2Fcodecs%2Fpcm.rs;h=13eee09f9be01d6161b3dd0afe85af8a99befac5;hb=ce742854b2912b880fb3d3e330042b049dac8504;hp=49e9dadcb760d548bde7d229edc63b9c4dd1c929;hpb=c83013a1f409bc5f83e343cf1b2293aa736e6c93;p=nihav.git diff --git a/nihav-commonfmt/src/codecs/pcm.rs b/nihav-commonfmt/src/codecs/pcm.rs index 49e9dad..13eee09 100644 --- a/nihav-commonfmt/src/codecs/pcm.rs +++ b/nihav-commonfmt/src/codecs/pcm.rs @@ -56,8 +56,10 @@ impl NADecoder for PCMDecoder { Err(DecoderError::InvalidData) } } + fn flush(&mut self) { + } } -pub fn get_decoder() -> Box { +pub fn get_decoder() -> Box { Box::new(PCMDecoder::new()) }