From: Andre Noll Date: Sun, 25 Apr 2010 12:36:15 +0000 (+0200) Subject: oggdec: Fix end-of-file detection. X-Git-Tag: v0.4.3~35 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=3aca09b886727eeae5c7084331b4f78ed21c261b;hp=3aca09b886727eeae5c7084331b4f78ed21c261b oggdec: Fix end-of-file detection. This bug causes the end of the decoded output not being written to the child nodes of the buffer tree under certain circumstances. Even if the buffer tree detects EOF we must not just bail out because there might still be data available for ov_read(). So remember the node status and return negative only if the node status is negative _and_ ov_read() returns zero. ---