gst/auparse/gstauparse.c: Error out on invalid data (fixes #154807).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Error out on invalid data (fixes #154807).
This commit is contained in:
Ronald S. Bultje 2004-10-09 20:49:45 +00:00
parent 23a95279ea
commit 5c01bf12fa
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2004-10-09 Sebastien Cote <sc5@hermes.usherb.ca>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/auparse/gstauparse.c: (gst_auparse_chain):
Error out on invalid data (fixes #154807).
2004-10-09 Tim-Philipp Müller <t.i.m@zen.co.uk>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>

View file

@ -221,7 +221,7 @@ gst_auparse_chain (GstPad * pad, GstData * _data)
head++;
} else {
g_warning ("help, dunno what I'm looking at!\n");
GST_ELEMENT_ERROR (auparse, STREAM, WRONG_TYPE, (NULL), (NULL));
gst_buffer_unref (buf);
return;
}