GNOME Bugzilla – Bug 574939
[typefinding] flac typefinder mis-typefinds PDFs as flac files
Last modified: 2009-03-15 20:03:01 UTC
The scan-for-a-flac-frame-header part of the flac typefinder seems to be a bit overconfident in its results. I see lots of non-FLAC files typefound as flac, esp. PDFs. I guess it should look for consecutive headers or something in that case, or lower the probability to something appropriately low (such as POSSIBLE?). Sample file: http://diracvideo.org/download/specification/diracpro-spec-latest.pdf
commit 04a860c6f7d1d6cc704cb8212457df735fdbbee7 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Sun Mar 15 19:57:36 2009 +0000 typefinding: make flac typefinder return lower probability for frame headers The flac frame header typefinder overstates the likelihood of a match, leading to false positives with e.g. aac streams and PDF files. Reduce probabilty returned from LIKELY to POSSIBLE for the frame header matchin code. Fixes #574939.