typefindfunctions: made mp3_type_find less aggressive
authorArnout Vandecappelle <arnout@mind.be>
Thu, 7 May 2009 12:59:36 +0000 (14:59 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 12 May 2009 07:03:22 +0000 (09:03 +0200)
commit192a34af40d8e1fd96b58a69eb15adb1fe8e3428
tree5da225bb66f2dcce568c5c9705be7733a3557c93
parentef473dd0aecd5d66198e7e983a5e104e06fa8b7f
typefindfunctions: made mp3_type_find less aggressive

mp3_type_find could suggest already when only a single valid header
was found, if it ran out of data before the end of the next frame.
Therefore, ignore the last found frame if it was incomplete.
Fixes bug #579692.
gst/typefind/gsttypefindfunctions.c