From 5c01bf12fa195c01b90bf9a752ba3d49e5a07af3 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 9 Oct 2004 20:49:45 +0000 Subject: [PATCH] gst/auparse/gstauparse.c: Error out on invalid data (fixes #154807). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/auparse/gstauparse.c: (gst_auparse_chain): Error out on invalid data (fixes #154807). --- ChangeLog | 7 +++++++ gst/auparse/gstauparse.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c3c9b50303..82c86bbdd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2004-10-09 Sebastien Cote + + Reviewed by: Ronald S. Bultje + + * gst/auparse/gstauparse.c: (gst_auparse_chain): + Error out on invalid data (fixes #154807). + 2004-10-09 Tim-Philipp Müller Reviewed by: Ronald S. Bultje diff --git a/gst/auparse/gstauparse.c b/gst/auparse/gstauparse.c index a9a764f385..9b84db0c56 100644 --- a/gst/auparse/gstauparse.c +++ b/gst/auparse/gstauparse.c @@ -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; }