A couple of seeking_example improvements.
authorTimothy B. Terriberry <tterribe@xiph.org>
Wed, 19 Sep 2012 21:13:18 +0000 (14:13 -0700)
committerTimothy B. Terriberry <tterribe@xiph.org>
Wed, 19 Sep 2012 21:13:18 +0000 (14:13 -0700)
commitefbca3a1457b3519c82a9cb9f1ee23d902c5a15d
treef66002e52641ae651cfd56e825743534f1cbf7e8
parent3c7191a95f14df6a0d88649024c453807ec99c6b
A couple of seeking_example improvements.

1) Check for allocation failure and fall back to merely scanning a
 file for consistent timestamps instead of loading it to RAM.
2) Report holes, but do not quit scanning/loading unless they cause
 a discontinuity in the timestamps.
examples/seeking_example.c