]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
mp3dec: Fix possible endless loop.
authorAndre Noll <maan@systemlinux.org>
Wed, 17 Aug 2011 17:08:17 +0000 (19:08 +0200)
committerAndre Noll <maan@systemlinux.org>
Thu, 18 Aug 2011 20:14:47 +0000 (22:14 +0200)
If the header of the last frame of a (corrupt) mp3 file can be decoded
but the rest of the frame can not, the mp3 decoder may end up in a
busy loop.

Fix this by performing the same check as for errors during header
decode. This adds some code duplication but as we are late in the
release cycle, let's go for the minimal fix for now.


No differences found