<div dir="ltr">Hi!<div><br></div><div>We are using libFLAC++ in our project for both encoding and decoding. I've found an issue where <font face="monospace, monospace">::FLAC::Decoder::Stream::seek_absolute()</font> fails with very short files (less than 2500 frames or so.) I've attached an example of such a file.</div><div><br></div><div>The failure case is in stream_decoder.c, line 3071. The comment above this case reads "check if the bounds are still ok." The sample we're seeking to is in range and its particular value doesn't seem to matter (we see this commonly when seeking to sample 0.) I haven't been able to figure out what this failure case means - could someone explain the comment and whether it's expected that this should fail under normal circumstances?</div><div><div><br></div><div>I am not set up to easily put together a minimal repro, but I can work on that if this is difficult for others to reproduce.</div><div><br></div><div>Thanks for your help!</div><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="2">Luke Bradford</font><div><font size="2">Senior Software Engineer</font></div><div><font size="2"><a href="mailto:luke@izotope.com" target="_blank">luke@izotope.com</a></font></div><div><font size="2"><br></font></div><div><font size="2">iZotope, Inc.</font></div><div><font size="2"><a href="http://www.izotope.com" target="_blank">www.izotope.com</a></font></div></div></div></div></div>
</div></div>