Fix hole reporting discrepancy.
authorTimothy B. Terriberry <tterribe@xiph.org>
Wed, 19 Sep 2012 22:43:43 +0000 (15:43 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Wed, 19 Sep 2012 22:43:43 +0000 (15:43 -0700)
commit78e5fffc305fc44737983e94ea1f9cfd00042c94
tree53b55e4b262225cd3adc15d6c6d5575a8f129408
parentefbca3a1457b3519c82a9cb9f1ee23d902c5a15d
Fix hole reporting discrepancy.

op_find_initial_pcm_offset() would swallow any holes at the start
 of a link, but seekable streams did not use it when crossing a
 link boundary, so they would report a hole.
This unifies the hole reporting between the two, and also
 simplifies the seeking code (which also needs to ignore holes) a
 bit.
src/opusfile.c