From: Kostya Shishkov Date: Wed, 7 Oct 2020 12:36:49 +0000 (+0200) Subject: wavpack: ignore ext_int flag when comparing headers X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=95221ccc81e3bdad749a7aa49b48499c73fc699a;p=nihav.git wavpack: ignore ext_int flag when comparing headers --- diff --git a/nihav-llaudio/src/codecs/wavpack.rs b/nihav-llaudio/src/codecs/wavpack.rs index 07aef40..3d1f411 100644 --- a/nihav-llaudio/src/codecs/wavpack.rs +++ b/nihav-llaudio/src/codecs/wavpack.rs @@ -22,7 +22,7 @@ const WV_FLAG_END_BLOCK: u32 = 1 << 12; const WV_FLAG_FALSE_STEREO: u32 = 1 << 30; const WV_FLAG_DSD_AUDIO: u32 = 1 << 31; -const WV_STREAM_FLAGS: u32 = 0x8000018B; +const WV_STREAM_FLAGS: u32 = 0x8000008B; #[derive(Clone,Copy,Default)] struct WVHeader { diff --git a/nihav-llaudio/src/demuxers/wavpack.rs b/nihav-llaudio/src/demuxers/wavpack.rs index 9cd50fa..e54ad7e 100644 --- a/nihav-llaudio/src/demuxers/wavpack.rs +++ b/nihav-llaudio/src/demuxers/wavpack.rs @@ -20,7 +20,7 @@ const WV_FLAG_END_BLOCK: u32 = 1 << 12; const WV_FLAG_FALSE_STEREO: u32 = 1 << 30; //const WV_FLAG_DSD_AUDIO: u32 = 1 << 31; -const WV_STREAM_FLAGS: u32 = 0x8000018B; +const WV_STREAM_FLAGS: u32 = 0x8000008B; #[derive(Clone,Copy,Default)] struct WVHeader {