ext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 13 Feb 2006 14:00:35 +0000 (14:00 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 13 Feb 2006 14:00:35 +0000 (14:00 +0000)
commit0904aa12c90c3a2cc802c95e61e8ea792900c623
tree940739befb6fedfa994bce76a645e10c52d863c9
parent50a78749494128f354fd1ecc34e87b180ee333f7
ext/dvdread/dvdreadsrc.c: Only allocate buffer once we know exactly how much we need, rather than gratuitously alloca...

Original commit message from CVS:
* ext/dvdread/dvdreadsrc.c: (gst_dvd_read_src_read),
(gst_dvd_read_src_create), (gst_dvd_read_src_src_event):
Only allocate buffer once we know exactly how much we need,
rather than gratuitously allocating 2MB-buffers all the time
even if we usually need much less than that. Also, demote
a debug message from DEBUG to LOG level.
ChangeLog
common
ext/dvdread/dvdreadsrc.c