GNOME Bugzilla – Bug 575388
[aacparse] deadlocks in busy loop when seeking
Last modified: 2009-03-23 19:21:34 UTC
The AAC parser can easily get stuck in an endless loop when seeking (at least in pull mode). This was found using Insanity when -bad was frozen already. I'll fix this after the freeze, keeping this bug as a reminder :) BTW no need to have/had this as a blocker, Wim has dropped the rank of this element for reasons like these I guess.
commit 83016fa9dc4d3229aae00ce53488a6375ca43132 Author: René Stadler <mail@renestadler.de> Date: Thu Mar 19 01:17:25 2009 +0200 aacparse: Fix busyloop when seeking. Fixes #575388 The problem is that after a discont, set_min_frame_size(1024) is called when detect_stream returns FALSE. However, detect_stream calls check_adts_frame which sets the frame size on its own to something larger than 1024. This is the same situation as in the beginning, so the base class ends up calling check_valid_frame in an endless loop.