tvheadend/tvheadend — pull request #343 by perexg (2014-03-14 20:15:43+00:00)
Title: The sbuf allocation cleanups

This is an attempt to fix the nonoptimal memory allocations. The old
code tries to allocate new chunks based on maximum packet value, but
the streams contain mostly short chunks. Also, in some cases, we know
the fixed sbuf size, so use it.