B15: ec-pcm-ext delete dead MS ADPCM channel check in decode()
Browse files at this commitf3d61775a1dd99848f7b2b161452ed2a11371963Parent: a7e1cd11 changed file +0 -3
crates/ec-pcm-ext/src/lib.rsmodified+0 -3
| @@ -284,9 +284,6 @@ impl PcmExtDecoder { | |||
| 284 | } | 284 | } |
| 285 | } | 285 | } |
| 286 | Kind::MsAdpcm => { | 286 | Kind::MsAdpcm => { |
| 287 | - if ch > 2 { | ||
| 288 | - return Err(Error::unsupported("MS ADPCM", "more than two channels")); | ||
| 289 | - } | ||
| 290 | if data.len() < 7 * ch { | 287 | if data.len() < 7 * ch { |
| 291 | return Err(Error::corrupt("MS ADPCM: a block shorter than its header")); | 288 | return Err(Error::corrupt("MS ADPCM: a block shorter than its header")); |
| 292 | } | 289 | } |