diff --git a/src/meta/rwsd.c b/src/meta/rwsd.c index 43bef3c1..7192d229 100644 --- a/src/meta/rwsd.c +++ b/src/meta/rwsd.c @@ -46,7 +46,11 @@ static void read_rwav(struct rwav_data * rd) /* little endian, version 2 */ if ((uint32_t)read_32bitBE(rd->offset+4,rd->streamFile)!=0xFFFE4000 || - (uint32_t)read_32bitBE(rd->offset+8,rd->streamFile)!=0x00000102) + ( + (uint32_t)read_32bitBE(rd->offset+8,rd->streamFile)!=0x00000102 && + (uint32_t)read_32bitBE(rd->offset+8,rd->streamFile)!=0x00010102 + ) + ) return; chunk_table_offset = rd->offset+0x18;