Extend seeking_example to always perform a pcm / pcm_page seek test to position 0 as an addiitonal test



git-svn-id: http://svn.xiph.org/trunk/vorbis@19158 0101bb08-14d6-0310-b084-bc0e0c8e3800
Attempted fix to Trac #1486

beginning-of-stream seek targets were no longer well defined in
ov_pcm_seek_page() (and thus ov_pcm_seek()) since extending to
multiplexed streams.  Beginning of stream is a special case due to the
seek target preceding the first explicit granule position.  

Although seeking to PCM 0 triggered the bug, early seeks in general
were not ebing handld well; rather than continuing to overload the
bisection, handle the early-seek case outside the loop.



git-svn-id: http://svn.xiph.org/trunk/vorbis@19159 0101bb08-14d6-0310-b084-bc0e0c8e3800
Correct two errors in patch for Trac #1486:

1) vf->offset should not have been overridden in new front-of-stream case
2) missing status output in seeking_example.c



git-svn-id: http://svn.xiph.org/trunk/vorbis@19164 0101bb08-14d6-0310-b084-bc0e0c8e3800
Additional fix to last-page handling, this time in initial bisection;
the code had gotten too cavalier about directly munging the vf->offset
file pointer as well as using it as an implicit argument to
_get_prev_page and _get_prev_page_serial.  The fact it was being used
as an argument and a side effect caused a necessary seek to get missed
when the last page of a link was non-vorbis.

Fix: Clean up the overloading, and be explicit about where we're
beginning prev_page reads.



git-svn-id: http://svn.xiph.org/trunk/vorbis@19165 0101bb08-14d6-0310-b084-bc0e0c8e3800
Update vorbisfile source copyright


git-svn-id: http://svn.xiph.org/trunk/vorbis@19166 0101bb08-14d6-0310-b084-bc0e0c8e3800
Correct two more corner case problems with #1486:
1) single-page streams will have no bisection; handle the special case explicitly
2) if the bisection fails without ever successfully grabbing a page, the first-page-special-case check is unprotected and will look at uninitialized memory.



git-svn-id: http://svn.xiph.org/trunk/vorbis@19171 0101bb08-14d6-0310-b084-bc0e0c8e3800
Fix some typos in the spec.

Thanks to stefan for the report.

Fixes #2060.


git-svn-id: http://svn.xiph.org/trunk/vorbis@19231 0101bb08-14d6-0310-b084-bc0e0c8e3800
Fix spec typo.

Issue #2060.


git-svn-id: http://svn.xiph.org/trunk/vorbis@19241 0101bb08-14d6-0310-b084-bc0e0c8e3800
Merge remote-tracking branch 'upstream/master'