wenet-e2e / wespeaker

Research and Production Oriented Speaker Verification, Recognition and Diarization Toolkit
Apache License 2.0
630 stars 109 forks source link

[runtime] fix bug in PcmReader where data may be out of bounds #255

Closed cdliang11 closed 7 months ago

cdliang11 commented 7 months ago

bug描述:对于正常的PCM数据,读取的二进制数据大小应该是偶数。但对于异常数据,读取的二进制数据大小是奇数,那么就是发生越界问题。