dvdemux: don't screw up first audio buffer
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 18 Jun 2009 22:43:49 +0000 (23:43 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 22 Jun 2009 09:49:02 +0000 (10:49 +0100)
commit42936a73e6d149cd1267957f0661a9fce7757d9b
tree8e4bd4765091a4bf021e0ecc80faba74208d07a3
parent6c6e96becde568e95e17b10841cc5a60137998b6
dvdemux: don't screw up first audio buffer

Query the audio format, esp. dvdemux->num_channels, before we use that
variable to allocate the initial buffer. That way we don't accidentally
push a zero-sized buffer as first audio buffer.
ext/dv/gstdvdemux.c