diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2007-07-22 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2007-07-22 18:00:00 +0200 |
commit | 8849308cf9ad1e85ed1790aa832806ce7f74e565 (patch) | |
tree | 1de7a670996e00aa1572939e24193669745455e0 /player.c | |
parent | a9c7f0de90a44ea7c031154d47b092faed74f90b (diff) | |
download | vdr-patch-lnbsharing-8849308cf9ad1e85ed1790aa832806ce7f74e565.tar.gz vdr-patch-lnbsharing-8849308cf9ad1e85ed1790aa832806ce7f74e565.tar.bz2 |
Version 1.5.6vdr-1.5.6
- Fixed a buffer overflow in initializing the system character table (thanks
to Marco Schlüßler).
- Updated the Russian OSD texts (thanks to Oleg Roitburd).
- Fixed handling single byte characters >0x7F in Utf8ToArray() (thanks to Udo
Richter).
- Improved numdigits(), isnumber() and strreplace() (thanks to Tobias Bratfisch).
- Fixed clearing color buttons in the 'curses' skin (thanks to Udo Richter).
- Fixed a typo in the function name of cOsd::SetOsdPosition() and added a range
check to it (thanks to Christoph Haubrich).
- Updated the Finnish OSD texts (thanks to Rolf Ahrenberg).
- Improved cControl::Launch() to keep 'control' from pointing to uninitialized
memory (thanks to Rolf Ahrenberg).
- Made skipspace() an inline function (suggested by Tobias Bratfisch) and changed
it to handle the most common case of 'no leading space' very fast, and avoid
calling isspace(), which made the whole function a lot faster.
- Fixed detection of Premiere NVOD channel links (thanks to Markus Hahn).
- Added a table of the used trick speed values to the description of
cDevice::TrickSpeed() (suggested by Martin Dauskardt).
- Added a missing 'P' to vdr.c's SHUTDOWNCANCELROMPT macro (reported by Marco
Schlüßler).
Diffstat (limited to 'player.c')
-rw-r--r-- | player.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: player.c 1.11 2006/01/06 11:30:07 kls Exp $ + * $Id: player.c 1.12 2007/07/20 15:25:24 kls Exp $ */ #include "player.h" @@ -69,8 +69,9 @@ cControl *cControl::Control(void) void cControl::Launch(cControl *Control) { cMutexLock MutexLock(&mutex); - delete control; + cControl *c = control; // keeps control from pointing to uninitialized memory control = Control; + delete c; } void cControl::Attach(void) |