audioaggregator: remove buffer!=NULL check
authorStefan Sauer <ensonic@users.sf.net>
Thu, 5 Oct 2017 15:54:34 +0000 (17:54 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 5 Oct 2017 16:12:29 +0000 (18:12 +0200)
commit1b842833967ac0c362baad6672f7425013c8c9d3
tree114a5d7f4043f6c3453456d22abeebe7dd5c47c3
parentf46d80f07dce7033eca5efa42276a590b047eb6e
audioaggregator: remove buffer!=NULL check

Acording to the logic this cannot happen (we already check this before). So
add a assert like we do above and remove the check. This make it clearer that
we check for the offset range.
Also remove a dead assignment since we reassign this a few lines below.
gst-libs/gst/audio/gstaudioaggregator.c