oggdec fixes.
authorAndre Noll <maan@systemlinux.org>
Sat, 9 Jan 2010 00:31:16 +0000 (01:31 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 9 Jan 2010 00:31:16 +0000 (01:31 +0100)
commitec5c6d12200e42b48e6376d43a7e653051a9259f
tree24b0fbf18776b4bb46f06bf7a349a9808fa06be9
parente86c756aaa4d3c5020deb46dc570df41764e5524
oggdec fixes.

If opening the stream fails because the segment available is too small,
we must not consume this data, which is what cb_read_btr() does
unconditionally.

Make it store the number of consumed bytes in pod->converted and consume
from ogg_init() and ogg_post_select() instead.
oggdec_filter.c