baseparse: revert last change and properly fix
authorStefan Kost <ensonic@users.sf.net>
Fri, 27 Feb 2009 09:24:37 +0000 (11:24 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 8 Apr 2011 17:06:57 +0000 (18:06 +0100)
commit4ffb2499d35898a773ecbf61b1bf6bfb15e052db
tree293b6a723716adfd1e5bcba09d91cc31c5759bc6
parent675dc650ca311c26929b4eeba133ad2bed8049ae
baseparse: revert last change and properly fix

Baseparse internaly breaks the semantics of a _chain function by calling it with
buffer==NULL. The reson I belived it was okay to remove it was that there is
also an unchecked access to buffer later in _chain. Actually that code is wrong,
as it most probably wants to set discont on the outgoing buffer.
gst/aacparse/gstbaseparse.c