signalprocessor: remove useless g_assert

g_malloc and co would terminate when out of memory. No need to check after it.
This commit is contained in:
Stefan Kost 2010-03-25 23:28:25 +02:00
parent 7a14b5d393
commit cfcffe6a74

View file

@ -735,7 +735,6 @@ gst_signal_processor_prepare (GstSignalProcessor * self, guint nframes)
group->buffer =
(gfloat *) g_realloc (group->buffer,
samples_avail * srcpad->channels * sizeof (gfloat));
g_assert (group->buffer);
group->channels = srcpad->channels;
group->nframes = samples_avail;
self->pending_out++;