From 95221ccc81e3bdad749a7aa49b48499c73fc699a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 7 Oct 2020 14:36:49 +0200 Subject: [PATCH] wavpack: ignore ext_int flag when comparing headers --- nihav-llaudio/src/codecs/wavpack.rs | 2 +- nihav-llaudio/src/demuxers/wavpack.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5