gst/audioconvert/audioconvert.c: When clearing an audioconvert context, set tmpbufsiz...
authorMichael Smith <msmith@xiph.org>
Wed, 26 Oct 2005 16:26:44 +0000 (16:26 +0000)
committerMichael Smith <msmith@xiph.org>
Wed, 26 Oct 2005 16:26:44 +0000 (16:26 +0000)
commit5fba8863204a0a1737fc5200026247fc0382b664
tree68e6b8b26e8a649be7fa047a57db636970ea62e7
parent6b235f7ee37d296fd1f14f1f2649a761083a4323
gst/audioconvert/audioconvert.c: When clearing an audioconvert context, set tmpbufsize to zero, so we'll allocate it ...

Original commit message from CVS:
* gst/audioconvert/audioconvert.c: (audio_convert_clean_context):
When clearing an audioconvert context, set tmpbufsize to zero, so
we'll allocate it again later if required.
This fixes audioconvert re-negotiating formats, which previously
segfaulted with a NULL destination buffer.
ChangeLog
gst/audioconvert/audioconvert.c