ext/vorbis/vorbisenc.c: If we get a zero-sized input buffer, don't pass it to libvorb...
authorMichael Smith <msmith@xiph.org>
Tue, 20 Mar 2007 11:49:55 +0000 (11:49 +0000)
committerMichael Smith <msmith@xiph.org>
Tue, 20 Mar 2007 11:49:55 +0000 (11:49 +0000)
commit45b6d734ec3e75c6d6476c5e43bd8771ecb4618d
tree4f00be19366a0326d8276ab350f11916eba10fd4
parentd24780a03bcdf6f8ea6ef91f1f08b8af18f73dc8
ext/vorbis/vorbisenc.c: If we get a zero-sized input buffer, don't pass it to libvorbis, as that marks EOS internally...

Original commit message from CVS:
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_chain):
If we get a zero-sized input buffer, don't pass it to libvorbis, as
that marks EOS internally. After that, libvorbis will buffer all
input data, and encode none of it, eventually leading to memory
exhaustion.
ChangeLog
ext/vorbis/vorbisenc.c