mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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.
This commit is contained in:
parent
a622ff74b0
commit
04a860c6f7
1 changed files with 1 additions and 1 deletions
|
@ -616,7 +616,7 @@ flac_type_find (GstTypeFind * tf, gpointer unused)
|
|||
/* FIXME: shouldn't we include the crc check ? */
|
||||
|
||||
GST_DEBUG ("Found flac without headers at %d", (gint) c.offset);
|
||||
gst_type_find_suggest (tf, GST_TYPE_FIND_LIKELY, FLAC_CAPS);
|
||||
gst_type_find_suggest (tf, GST_TYPE_FIND_POSSIBLE, FLAC_CAPS);
|
||||
return;
|
||||
}
|
||||
advance:
|
||||
|
|
Loading…
Reference in a new issue