提交 ecfe3263 authored 作者: Anthony Minessale's avatar Anthony Minessale

FS-4114 --resolve this bug is actually in libsndfile, if its not fixed in the…

FS-4114 --resolve this bug is actually in libsndfile, if its not fixed in the latest version we probably should report it upstream
上级 e1db0651
Thu May 21 16:11:03 CDT 2009 Mon Apr 16 11:52:47 CDT 2012
...@@ -724,7 +724,9 @@ ima_seek (SF_PRIVATE *psf, int mode, sf_count_t offset) ...@@ -724,7 +724,9 @@ ima_seek (SF_PRIVATE *psf, int mode, sf_count_t offset)
if (offset == 0) if (offset == 0)
{ psf_fseek (psf, psf->dataoffset, SEEK_SET) ; { psf_fseek (psf, psf->dataoffset, SEEK_SET) ;
pima->blockcount = 0 ; pima->blockcount = 0 ;
if (pima->decode_block) {
pima->decode_block (psf, pima) ; pima->decode_block (psf, pima) ;
}
pima->samplecount = 0 ; pima->samplecount = 0 ;
return 0 ; return 0 ;
} ; } ;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论