diff options
Diffstat (limited to 'gst/modplug')
-rw-r--r-- | gst/modplug/gstmodplug.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gst/modplug/gstmodplug.cc b/gst/modplug/gstmodplug.cc index 9270938b..2fa602f7 100644 --- a/gst/modplug/gstmodplug.cc +++ b/gst/modplug/gstmodplug.cc @@ -132,6 +132,9 @@ static GstElementClass *parent_class = NULL; static GstCaps* modplug_type_find (GstBuffer *buf, gpointer priv) { + if (GST_BUFFER_SIZE (buf) < 75) + return NULL; + if (MOD_CheckType (buf) || Mod_669_CheckType (buf) || Amf_CheckType (buf) || |