Fix for Trac #1573.
authorMonty <xiphmont@xiph.org>
Fri, 24 Jul 2009 01:51:10 +0000 (01:51 +0000)
committerMonty <xiphmont@xiph.org>
Fri, 24 Jul 2009 01:51:10 +0000 (01:51 +0000)
commit23361c7ff83031309e9b98f1a309d07a4c73a171
tree10f386e6bdf12234e0ff9855d9c7c7b375b156d4
parent2aeaf1c181757e92f1d4586803ec0887bd83779d
Fix for Trac #1573.

This is two bugs.  The first is that vorbisfile_example.c ignores an
error code and plows ahead blindly if libvorbisfile reports the
current bitstream section is bad (OV_EBADLINK).

The second is that retrying after the error crashes libvorbisfile due
to the unitialized state.

svn path=/trunk/vorbis/; revision=16328
examples/vorbisfile_example.c
lib/block.c