mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
7a14b5d393
commit
cfcffe6a74
1 changed files with 0 additions and 1 deletions
|
@ -735,7 +735,6 @@ gst_signal_processor_prepare (GstSignalProcessor * self, guint nframes)
|
||||||
group->buffer =
|
group->buffer =
|
||||||
(gfloat *) g_realloc (group->buffer,
|
(gfloat *) g_realloc (group->buffer,
|
||||||
samples_avail * srcpad->channels * sizeof (gfloat));
|
samples_avail * srcpad->channels * sizeof (gfloat));
|
||||||
g_assert (group->buffer);
|
|
||||||
group->channels = srcpad->channels;
|
group->channels = srcpad->channels;
|
||||||
group->nframes = samples_avail;
|
group->nframes = samples_avail;
|
||||||
self->pending_out++;
|
self->pending_out++;
|
||||||
|
|
Loading…
Reference in a new issue