summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornano <c.cier@gmx.de>2012-01-07 16:51:41 +0100
committernano <c.cier@gmx.de>2012-01-07 16:51:41 +0100
commit5c57e29c42bf3fd1919aa4fcdb5f3338bfb59056 (patch)
tree60ce3ff420c11f27df9096f07345bea8aa33aeb9
parentd68e6e1b6b06c9fd5198082b256a959a34dad5e4 (diff)
downloadvdr-plugin-ffnetdev-5c57e29c42bf3fd1919aa4fcdb5f3338bfb59056.tar.gz
vdr-plugin-ffnetdev-5c57e29c42bf3fd1919aa4fcdb5f3338bfb59056.tar.bz2
fixed bug#741, bug#742, new version 0.1.2
-rw-r--r--CHANGELOG5
-rw-r--r--README7
-rw-r--r--ffnetdev.c2
-rw-r--r--osdworker.c4
-rw-r--r--pes2ts.h2
5 files changed, 9 insertions, 11 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 7aac301..9810074 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -94,4 +94,7 @@ Changelog
2009-07-02
- fixed a Bug. Is now stable.
- \ No newline at end of file
+
+ 2012-01-06: ffnetdev-0.1.2
+ - fixed two bugs: bug#741 (video freeze) and bug#742 (buffer overflow in
+ osdworker)
diff --git a/README b/README
index 9766b29..1f8adf6 100644
--- a/README
+++ b/README
@@ -6,15 +6,10 @@ some code taken from: Sascha Volkenandt's streamdev plugin <sascha@akv-so
TightVNC <http://www.tightvnc.com>
-Project's homepage: https://developer.berlios.de/projects/ffnetdev/
+Project's homepage: http://projects.vdr-developer.org/projects/plg-ffnetdev
See the file COPYING for license information.
-!!! WARNING !!!
-The code of this plugin is alpha quality. So expect it to have all kinds of bugs.
-If it crashes your machine, do not blame me. You have been warned!!! :-)
-!!! WARNING !!!
-
------------
Description:
------------
diff --git a/ffnetdev.c b/ffnetdev.c
index b6ad05a..93d6c9f 100644
--- a/ffnetdev.c
+++ b/ffnetdev.c
@@ -21,7 +21,7 @@
#include "ffnetdevsetup.h"
-const char *cPluginFFNetDev::VERSION = "0.1.0";
+const char *cPluginFFNetDev::VERSION = "0.1.2";
const char *cPluginFFNetDev::DESCRIPTION = "Full Featured Network Device for Streaming";
//const char *cOSDWorker::MAINMENUENTRY = "FFNetDev";
diff --git a/osdworker.c b/osdworker.c
index 91c8c9b..601f208 100644
--- a/osdworker.c
+++ b/osdworker.c
@@ -762,8 +762,8 @@ void cOSDWorker::Action(void) {
break;
}
- CARD8 name[7];
- strcpy((char*)&name, "VDR-OSD");
+ CARD8 name[8];
+ strncpy((char*)&name, "VDR-OSD",8);
if (!m_OSDClient->SafeWrite(&name, 7))
{
state = NO_CLIENT;
diff --git a/pes2ts.h b/pes2ts.h
index 887e890..6ae0eb7 100644
--- a/pes2ts.h
+++ b/pes2ts.h
@@ -14,7 +14,7 @@
#define INPUTBUFSIZE KILOBYTE(2048)
#define OUTPUTBUFSIZE KILOBYTE(2048)
#define TS_SIZE 188
-#define IPACKS 2048
+#define IPACKS 65536
class cPESRemux
{