diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2006-06-18 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2006-06-18 18:00:00 +0200 |
commit | 90bc2f18e3fb72bba792226dfd2a6e245464d2f5 (patch) | |
tree | 91c7685580e639523ffd3f79c4993b6b48451e91 /ringbuffer.c | |
parent | 2bb325135433521694b0a387a60225d7727a980e (diff) | |
download | vdr-patch-lnbsharing-90bc2f18e3fb72bba792226dfd2a6e245464d2f5.tar.gz vdr-patch-lnbsharing-90bc2f18e3fb72bba792226dfd2a6e245464d2f5.tar.bz2 |
Version 1.4.1-1vdr-1.4.1-1
- Added "-fPIC" to the compiler options in Make.config.template when compiling
plugins (thanks to Udo Richter). If you use your own Make.config file, you may
want to add these lines there, too.
- Added some comment to cDevice::GetDevice() to explain how the individual
conditions are put together to make a decision on which device to use.
- Updated 'S13E' in 'sources.conf' (thanks to Antti Hartikainen).
- Now making sure VPS timers don't get stuck with outdated events, and that the
actual device isn't used for updating a VPS timer's event as long as other
free devices are available.
- Modified rcu.c to better handle RC5 codes.
- Added a missing variable initialization in cRingBufferLinear::cRingBufferLinear()
(thanks to Prakash Punnoor).
- Fixed handling relative link targets in the ReadLink() function (reported by
Patrick Cernko).
- Now making sure a VPS timer has a schedule in case the epg.data file didn't
contain one when VDR was started.
Diffstat (limited to 'ringbuffer.c')
-rw-r--r-- | ringbuffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ringbuffer.c b/ringbuffer.c index e00a524..0633bd3 100644 --- a/ringbuffer.c +++ b/ringbuffer.c @@ -7,7 +7,7 @@ * Parts of this file were inspired by the 'ringbuffy.c' from the * LinuxDVB driver (see linuxtv.org). * - * $Id: ringbuffer.c 1.23 2005/12/30 15:42:08 kls Exp $ + * $Id: ringbuffer.c 1.24 2006/06/16 09:32:13 kls Exp $ */ #include "ringbuffer.h" @@ -156,6 +156,7 @@ cRingBufferLinear::cRingBufferLinear(int Size, int Margin, bool Statistics, cons { description = Description ? strdup(Description) : NULL; tail = head = margin = Margin; + gotten = 0; buffer = NULL; if (Size > 1) { // 'Size - 1' must not be 0! if (Margin <= Size / 2) { |