flacparse: warn on wishful parsing of weird headers
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Thu, 31 Dec 2015 20:52:13 +0000 (12:52 -0800)
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
Thu, 31 Dec 2015 21:04:23 +0000 (13:04 -0800)
commit8a745837aae0ccd3fabb2169fa6bc4771f035179
tree0fadcf1db989444d547bf84fe49e208c9e031354
parentdf6f0bc5956c4d6c9be576fcaa757b02793505b3
flacparse: warn on wishful parsing of weird headers

If we get anything from 7 to 126 as type when parsing
a metadata block header, we are likely dealing with a
FLAC stream version we don't fully understand. Issue
a warning if so.

Document function assumptions regarding the passed-on
type while at this.
gst/audioparsers/gstflacparse.c